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.

Soft Delete Child Models When a Parent is Deleted

Related Projects

Add FaceID and TouchID Login to Your Laravel Apps

Add FaceID and TouchID Login to Your Laravel Apps

Login in a flash.

Subdomain Multitenency Package for Laravel

Subdomain Multitenency Package for Laravel

Subdomain Simplicity.

Lunar Headless E-Commerce for Laravel

Lunar Headless E-Commerce for Laravel

Orbiting your desires

Friendly Prefix IDs for Eloquent Models

Friendly Prefix IDs for Eloquent Models

Humanize Your Model IDs.

Manage Virtual Wallets in Laravel with Pay Pocket

Manage Virtual Wallets in Laravel with Pay Pocket

Power up your Laravel app with virtual wallets.

Snipe Migrations Laravel Package

Snipe Migrations Laravel Package

Migrate with precision