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
In fact I didn't notice you wanted to load jobs for a signle user, my bad! So if that's the case, th...
This is trivial unless you want something different to what you say :) // tag id given so we need on...
Use join because eager loading runs 2nd query, so you'll end up with jobs ordered by whatever you li...
I wonder why you would want that ? Anyway, you can't do any better with native Eloquent methods, but...
Format your code properly. Anyway: ->where('distance_in_mi <= r') // won't work //instead...
The Laravel portal for problem solving, knowledge sharing and community building.