Middleware in Laravel goes well beyond authentication guards. These five techniques cover terminable middleware, priority ordering, route-level parameters, and more.
Tips
PHP 8.4 shipped property hooks, asymmetric visibility, and more. Here is what each feature means for your day-to-day Laravel code and how to start using them now.
These five underused Eloquent features will help you write less code, run fewer queries, and make your models a lot more pleasant to work with.
Stop making users wait for logging, cleanup, or metrics work that could run after the response is already on its way to the browser.