Laravel 12: Simplifies Soft Delete Routing with New softDeletableResources() Method
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...
laraveldailytips.hashnode.dev2 min read