Laravel's once() helper memoizes a closure's return value for the current request or process — here's when to reach for it.
Latest News
Latest Links
More Articles
Nightwatch's MCP server now hands AI coding assistants real route, query, and job timing data for performance issues, not just exceptions.
Laravel's Sleep facade replaces raw sleep() calls with a fluent, fully testable API — no more multi-second test suites.
Your config/database.php connections aren't fixed at boot. Here's how to pick, register, and reset connections at runtime.
Filament rolls out a beta with performance work spanning forms, tables, panels, and widgets. Here's what changed and how to try it.
Model valid order status transitions with a backed PHP enum and Eloquent, no state machine package required.
Skip the old Rule::passes()/message() dance. Build reusable, testable validation logic with ValidationRule invokable classes.
Replace nested string function calls and ternaries with Str::of() chains that read top to bottom and are easy to extend.
Laravel shipped a first-party package for managing document head tags fluently across Blade, Livewire, and Inertia apps.