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
$values = array( array('field1' => 'value 1', 'field2' => 'value2', ...), ... ); DB::ta...
You can't use lists like this as these are separate queries. What is Friends model?
Yes, that's the way for the relation linking, but what is that you want to test there?
You can easily achieve that using groupBy() method of the Collection class, but mind that dateTime f...
Hmmmm I must admit I was wrong here! whereHas() doesn't work with dot nested relations, that's all....
The Laravel portal for problem solving, knowledge sharing and community building.