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
You can do this using joins (and eager loading data if needed)
With 3 models it's just the same: pivot table a_b_c: a_id,b_id,c_id relations on A: belongsToMany('...
eriktisme said: Do you mean to echo them together ? You could do // User model public function get...
First off, are you sure you need Projects-Subjects relation? If Subject is part of Expedition, then...
In fact I didn't notice you wanted to load jobs for a signle user, my bad! So if that's the case, th...
The Laravel portal for problem solving, knowledge sharing and community building.