Source: tim.macdonald.au

Query scopes, meet action scopes
I just read Freek's blog post on the void return type (which you should check out), and it reminded me of this pattern I dig and thought I'd write up a quick post about it...and I named it...for better or worse. Query scopes If you've worked with Eloquent, you've probably come across query scopes.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners