🔥 Eloquent scopes pair very well with complex relation queries
Scopes should also have @method annotations. They make the model more self-documenting & better supported in IDEs
We're writing a book, you can get it for free here.
We're writing a book! Join the early access to get it for free.