Taylor Otwell demoed CPX 2.0 at Laracon US 2026 — now a first-party laravel/cpx package that runs any Composer package without adding it to your project.
Latest News
Latest Links
More Articles
Stop opening tinker just to remember a model's attributes, casts, and relationships. artisan model:show prints all of it in one command.
Presence channels let you know exactly who is currently viewing a page, in real time. Build a live "who is online" indicator with Reverb.
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.