Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

25607

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

Replace Raw Query Calls With Laravel Query Expressions

Replace Raw Query Calls With Laravel Query Expressions

Express Yourself with Queries.

View Page 340 views
Dash UI is a Laravel Blade Component Library Inspired by Shopify Polaris

Dash UI is a Laravel Blade Component Library Inspired by Shopify Polaris

Power your Laravel app's design with the ready-made components of Dash UI.

View Page 363 views
Maravel Permissions Package for Laravel

Maravel Permissions Package for Laravel

Your App, Superpowered.

View Page 224 views
Turbine UI - Laravel Blade & Tailwind CSS UI Component Library

Turbine UI - Laravel Blade & Tailwind CSS UI Component Library

Powering Laravel apps with pre-built, customizable components.

View Page 431 views
Laravel Tag Helper

Laravel Tag Helper

Excellence is our standard.

View Page 344 views
GetCandy E-commerce Package for Laravel

GetCandy E-commerce Package for Laravel

E-commerce, Elevated

View Page 371 views

Partners

No verified ads available.