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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners