I'm currently porting an app from Codeigniter to Laravel and was looking to implement some functiona...
Coming from Codeigniter, I'm used to placing all my database queries in the model. From what i've se...
Interesting. I've also just read that in 5.x it now returns a collection rather than an array, but t...
Thanks thomastkim! That's a nice edit. I removed the toArray() method chained on the end as apparent...
The Laravel portal for problem solving, knowledge sharing and community building.
The community