If you ever created complex global scope constraint, you must have faced a challenge with defining r...
Pretty much every app needs decent search engine. Nowadays specialized engines like ElasticSearch ar...
Do you use Eloquent in your apps? It's simply fun to work with, right? I think the same, but after s...
I want to introduce nice and useful package for DB revisions. It works out of the box with Eloquent...
Explained here: http://laravel.io/bin/rr4QQ#8,44
So here is what I did to get it work, but if anyone knows better solution please advise! // User mod...
The idea behind the easy way is that you can run single query for the insert query providing array o...
There is firstOrNew() what works just the same and in case of not finding anything will return new i...
There is: // The EASY way: // adjust form to this: {{ Form::text('first_names[][first_name]', null,...
There are a few mistakes in your query: 1 orderBy is in whereHas so it doesn't do anything 2 your fi...
The Laravel portal for problem solving, knowledge sharing and community building.