Support the ongoing development of Laravel.io →

matthewmalone

Joined 11 Mar 2015

Statistics

Threads 8
Replies 9
Solutions 2
Articles 0

Laravel sync hasMany and belongsTo in reverse?

Is there a simple way to do a "sync" (as per a many-to-many) relationship in one line betw...

Likes Replies

Laravel 5.2+ date before and after date validation not working

This works 'expected_at' => 'date|after:"2016-04-09 10:48:11"', Or this works $rules['...

Likes Replies

Reseeding MySQL index

When creating a table ("quotations") in a migration I want to set the index start count......

Likes Replies
Solved

Clean way of combining an array for a listbox

Most of the listbox I use, make use of the lists function i.e. ->lists('id', 'name') Is there a n...

Likes Replies

Select box returns null when empty?

A null value is returned, when the select box is empty - this causes an error while using the sync c...

Likes Replies
replied 7 years ago

Laravel and C9 (cloud9).

I am having similar difficulties, I can get it installed, but I get the error below when trying to l...

0 Likes
replied 7 years ago

Select box returns null when empty?

So far this is the best solution (still an ugly hack!) $tags = $request->input('tag_list'); $comp...

0 Likes
replied 7 years ago

How do I make limit the information retrieved by eloquent and stop crashes?

Here is the full solution that solved the memory problem (4gb+ to 100mb or so) DB::connection()->...

0 Likes
Solved
replied 7 years ago

How do I make limit the information retrieved by eloquent and stop crashes?

Xum said: Have you tried chunkifying inner loops? Say, instead of: foreach ($company->equipment...

0 Likes
replied 7 years ago

How do I make limit the information retrieved by eloquent and stop crashes?

tkprocat said: (Sorry, I'm not at my dev computer at the moment, so the content of this post might...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.