Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

11962

Soft Delete Child Models When a Parent is Deleted

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."

No Website
GitHub Repo

Related Projects

Glob-like File and Pattern Matching Utilities for PHP

Glob-like File and Pattern Matching Utilities for PHP

Elevate your file handling.

View Page 204 views
Given-When-Then Plugin for Pest

Given-When-Then Plugin for Pest

Test smarter, not harder

View Page 287 views
Track the Health of Your Application With Laravel Health

Track the Health of Your Application With Laravel Health

Ensure peak performance with Laravel Health.

View Page 210 views
Automated API documentation of Laravel API resources

Automated API documentation of Laravel API resources

Unlocking Developer Productivity with Automated API Docs

View Page 104 views
Exclude Model Entities From Eloquent With the Laravel Exclusions Package

Exclude Model Entities From Eloquent With the Laravel Exclusions Package

Selective Data Retrieval for Smarter Applications.

View Page 257 views
Laravel Proximage: A Handy Package for Proxying Images

Laravel Proximage: A Handy Package for Proxying Images

The Future of Image Delivery in Laravel

View Page 76 views