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
And what's your product_option_country table? You want to query pivot table product_option_country f...
Show the code calling relations and the queries that are pulling data from other table
//User $table->increments('id'); // -> integer('id')->unsigned(); so change this: //Board...
Eager loading won't work here as it runs 2 separate queries, so you need simple joins like this: Les...
You can use contexts for this. To cut this short, just check this out http://culttt.com/2014/03/31/m...
The Laravel portal for problem solving, knowledge sharing and community building.