© 2026 Hashnode
When your Laravel project starts growing, you’ll quickly realize that controllers and models can easily become overloaded with logic. That’s when Services and Traits come into play. They both help you keep your code clean, reusable, and easy to maint...

Laravel 12.22 introduces a new method called softDeletableResources() to simplify how developers define routes for models that use soft deletes. Previously, developers had to manually attach ->withTrashed() to each resource route, which could clutter...

In today's application development landscape, Role-Based Access Control (RBAC) has become a standard feature in most modern applications. If you're a Laravel developer, implementing RBAC is straightforward, thanks to the Spatie Permission package. Th...

Laravel is a powerful PHP framework that allows developers to build web applications quickly and easily. One of the many features of Laravel is its ability to handle database migrations, which can be a real time saver for developers. In this blog pos...
