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
Are you sure you want pivot table for this? It seems that single User can have only one other User t...
Shift::whereRaw('id NOT IN (SELECT shift_id from absenceline')->get(); // sql: select * from shif...
edit: Well I must be tired as it's midnight where I live... Use having() as it is what you want (BUT...
The only thing I can think of is that you mistyped boards somewhere. There is no other way that Eloq...
run DB::getQueryLog(); after fetching what you wanted, this will return all the queries and we can e...
The Laravel portal for problem solving, knowledge sharing and community building.