Find The Latest Laravel Packages
Login To Post Your PackagePeople Exploring Laravel
11962
Soft Delete Child Models When a Parent is Deleted
Laravel's soft delete feature doesn't automatically handle child models, but the Soft Deletes Parent package solves this. It automatically soft deletes child models when a parent is soft deleted and restores them when the parent is restored. This package maintains the original `deleted_at` timestamp for child models and offers scoped queries for managing soft-deleted records. It's a convenient solution for managing hierarchical data with soft deletes in Laravel applications.
"Empowering through technology."
Related Projects
Glob-like File and Pattern Matching Utilities for PHP
Elevate your file handling.
Track the Health of Your Application With Laravel Health
Ensure peak performance with Laravel Health.
Automated API documentation of Laravel API resources
Unlocking Developer Productivity with Automated API Docs
Exclude Model Entities From Eloquent With the Laravel Exclusions Package
Selective Data Retrieval for Smarter Applications.
Laravel Proximage: A Handy Package for Proxying Images
The Future of Image Delivery in Laravel