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
What you need is polymorphic relationship. I suggest something flexible, so you don't need to make c...
You can make a pull request to the docs. Anyway show the current code with calling this attribute, s...
Your accessor is called but you misunderstand how it works (in the docs there's a mistake in the exa...
Yes, I copy-pasted the code from my Category - Post relations :) Typo fixed. The idea behind this on...
If you want to retrieve count for multiple modules using eager loading then you need such a 'helper'...
The Laravel portal for problem solving, knowledge sharing and community building.