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
trololosha4real said: jarektkaczyk said: Only way I can think of would be overriding the methods r...
The code you have doesn't insert anything twice, so there are 2 things I can think of: You visit th...
Only way I can think of would be overriding the methods responsible for fetching results from db, bu...
Yes, of course you can do that. For Eloquent Builder itself scopes are working just the same. And th...
The problem is that you use wrong relation for this. Many to many is belongsToMany and hasMany works...
The Laravel portal for problem solving, knowledge sharing and community building.