Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

12080

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

Laravel Telescope Guzzle Watcher

Laravel Telescope Guzzle Watcher

Debug Guzzle with Telescope Precision.

View Page 106 views
Laravel Queue Driver for RabbitMQ

Laravel Queue Driver for RabbitMQ

Efficient queuing, RabbitMQ style

View Page 279 views
Manage Virtual Wallets in Laravel with Pay Pocket

Manage Virtual Wallets in Laravel with Pay Pocket

Power up your Laravel app with virtual wallets.

View Page 246 views
A Zero-dependency SVG Chart Library for PHP

A Zero-dependency SVG Chart Library for PHP

SVG charts, simplified.

View Page 135 views
Randomize Command Execution Time with the Chaotic Schedule Package for Laravel

Randomize Command Execution Time with the Chaotic Schedule Package for Laravel

Embrace uncertainty, ensure reliability

View Page 152 views
Install Spark in an Existing Laravel App

Install Spark in an Existing Laravel App

Spark your growth with Laravel

View Page 170 views