Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

18761

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

The Share Error  Package For Laravel

The Share Error Package For Laravel

Bug Fix in a Click

View Page 315 views
Easily deleting old soft-deleted records with Quicksand

Easily deleting old soft-deleted records with Quicksand

Efficiently managing your database's past.

View Page 293 views
API Platform for Laravel

API Platform for Laravel

Efficient APIs, Simplified.

View Page 362 views
Recurr is a PHP library for working with recurrence rules for calendar dates

Recurr is a PHP library for working with recurrence rules for calendar dates

Schedule with Simplicity.

View Page 133 views
Immutable IP Address Library For PHP

Immutable IP Address Library For PHP

Reliable, immutable IP management

View Page 377 views
Laravel Slack Alerts Package

Laravel Slack Alerts Package

Elevate Your Laravel Monitoring with Slack Integration.

View Page 192 views

Partners

No verified ads available.