Refactor Laravel Eloquent Query Conditions to a Trait
My recent tweet on refactoring Laravel Eloquent query conditions to a trait proved popular so here it is with a little more context, in permanent form.
My biggest side-project at the moment...