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

Real-Time Chat Package for Laravel

Real-Time Chat Package for Laravel

Instant Messaging, Simplified

Automate App Setup with Laravel Initializer

Automate App Setup with Laravel Initializer

Laravel initialization redefined."

Punchcard: Object Configs for Laravel

Punchcard: Object Configs for Laravel

Modern Config for Laravel

Laravel Google Chat Alerts

Laravel Google Chat Alerts

Keep your team informed with Laravel Google Chat Alerts

Keep Logs Tidy With the Log Cleaner Package for Laravel

Keep Logs Tidy With the Log Cleaner Package for Laravel

Efficiently manage and optimize your Laravel log files.

Pail is an experimental package to tail logs

Pail is an experimental package to tail logs

Making log monitoring effortless