Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

22795

Soft Delete Child Models When a Parent is Deleted

Soft Delete Child Models When a Parent is Deleted

*Soft deleting child models when a parent is deleted* means marking both parent and child records as deleted instead of permanently removing them. This maintains data integrity by preventing orphaned records. It can be achieved manually using triggers, event listeners, or custom logic, or by using packages like Laravel Soft Deletes Parent. This approach allows for data recovery while preserving data history.

"Data Relationships Matter"

No Website
GitHub Repo

Related Projects

Fluent Validation Rules With Laravel Hyrule

Fluent Validation Rules With Laravel Hyrule

Hyrule: Your Validation Hero

View Page 311 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 171 views
Squeaky

Squeaky

"Making Laravel Applications Safer and Cleaner."

View Page 67 views
Direct Printing for Laravel Apps

Direct Printing for Laravel Apps

Empowering Print Solutions for Laravel.

View Page 383 views
Restore Database Backups in Laravel

Restore Database Backups in Laravel

Data Recovery, Simplified

View Page 255 views
Manage Global Data in Laravel with the World Package

Manage Global Data in Laravel with the World Package

SeamlessGlobal Data Management for Laravel

View Page 49 views

Partners

No verified ads available.