Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

43425

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 Microsoft Graph

Laravel Microsoft Graph

Connect Laravel with Microsoft Graph Seamlessly

View Page 335 views
Trackable Jobs for Laravel

Trackable Jobs for Laravel

Gain deep insights into your Laravel job performance

View Page 510 views
Bluesky notification channel for Laravel

Bluesky notification channel for Laravel

Elevate Your Bluesky Presence with Laravel."

View Page 368 views
A Laravel Package for the Quickpay API

A Laravel Package for the Quickpay API

Simplify Quickpay with Laravel: A Powerful Payment Gateway Integration.

View Page 314 views
Sub-Minute and Cron-less Scheduled Tasks in Laravel

Sub-Minute and Cron-less Scheduled Tasks in Laravel

Your Laravel App's Reliable Taskmaster

View Page 493 views
Generate Saloon SDKs from Postman or OpenAPI

Generate Saloon SDKs from Postman or OpenAPI

API SDKs in a Flash

View Page 553 views