Announced at Laracon US 2026, the new artisan doctor command checks your APP_KEY, PHP version, extensions, and env config in one pass.
Latest News
Latest Links
More Articles
whereAny() and whereAll() collapse repetitive orWhere and where chains into a single, readable call across multiple columns.
Two checkouts racing for the last item in stock is a classic bug. Build a reservation system with lockForUpdate() that closes the race for good.
Cache::flexible() serves stale data while refreshing it in the background, so a slow origin never becomes a slow response for your users.
Laravel has built-in string helpers for redacting card numbers, emails, and other sensitive values before they reach a log line.
Pint 1.30.0 adds a --blade flag that formats .blade.php files through Prettier, alongside fixes for --diff and --quiet.
Build nested, threaded comments in Laravel using a self-referencing parent_id column and a recursive Eloquent relationship.
Laravel Process wraps Symfony Process with a fluent API for running shell commands, plus first-class fakes for testing.
A deeper look at what an Eloquent model actually is under the hood, and why that mental model matters for the bugs you hit.