Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

38870

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

Laravel Enum Package

Laravel Enum Package

Enrich Your Enums

View Page 528 views
Block Known Spam IPs from Your Laravel App with the Abuse IP Package

Block Known Spam IPs from Your Laravel App with the Abuse IP Package

Protect Your Laravel App from Spam

View Page 372 views
Laravel Toaster Magic

Laravel Toaster Magic

Easy-to-Use Toaster Package: Simple and intuitive file management for Laravel.

View Page 132 views
A Laravel Package to Protect Routes With a PIN Code

A Laravel Package to Protect Routes With a PIN Code

Control and Flexibility

View Page 501 views
Generate Migrations from an existing database

Generate Migrations from an existing database

Seamlessly Evolve Your Database."

View Page 407 views
Manage Roles and Permissions in Filament with Hex Lite

Manage Roles and Permissions in Filament with Hex Lite

Forge your vision

View Page 535 views

Partners

No verified ads available.