Presence channels let you know exactly who is currently viewing a page, in real time. Build a live "who is online" indicator with Reverb.
Latest News
Latest Links
More Articles
Bulk imports and seeders can trigger a storm of observers and listeners you never intended. withoutEvents() and saveQuietly() turn them off cleanly.
A queued job is not a closure sitting in memory. Understanding serialization and SerializesModels explains why jobs behave the way they do.
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.