You can do: Icon::all()->keyBy('name') or Icon::all()->keyBy('name')->toArray()
You are returning just javascript and i guess this will have a problem with the new lines. In my opi...
Try this DB::statement('SET GLOBAL group_concat_max_len = 1000000');
Does the show table also have and id field? If so, rewrite your get() to the following: get(array('s...
Try to change the select of that query and use the id you need in that select and not the id of the...
The Laravel portal for problem solving, knowledge sharing and community building.
The community