A queued job is not a closure sitting in memory. Understanding serialization and SerializesModels explains why jobs behave the way they do.
Latest News
Latest Links
More Articles
Support tickets go faster when your team can see exactly what the customer sees. Build a safe, logged, reversible user impersonation feature.
Skip the throwaway controller method for simple redirects. Route::redirect() and permanentRedirect() handle them in one line, in your routes file.
Announced at Laracon US 2026, the new artisan doctor command checks your APP_KEY, PHP version, extensions, and env config in one pass.
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.