Joel Clermont
@jclermont
Helping Laravel devs ship better products and level up their skills
• • 427 Posts • 2K Views
Tried chaining a scope onto Rule::exists and wondered why it didn't work? Here's why and what to do instead.
masteringlaravel.io/daily/2026-01-22-rule-exists-doesnt-work-with-scopes
Before reaching for Redis or another caching layer, consider this simple PHP technique to avoid repeated database queries within a single request.
masteringlaravel.io/daily/2026-01-21-republished-a-simple-way-to-avoid-multiple-lookups-within-a-request
When Laravel's argument() method doesn't work like you expect, you start exploring alternatives. Here's the journey I took.
masteringlaravel.io/daily/2026-01-20-handling-optional-console-command-arguments
I don't need this a lot, but it was annoying to not have syntax highlighting in the Laravel stub files. Here's a quick PhpStorm setting to fix it.
masteringlaravel.io/daily/2026-01-19-want-full-ide-support-when-editing-stub-files
One request per test is a good rule. But in today's video, I show one situation where I feel okay breaking it.
masteringlaravel.io/daily/2026-01-16-video-one-situation-where-it-is-useful-to-make-more-than-one-request-in-a-test