Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

26938

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

Calculating Mathematical Statistics in PHP

Calculating Mathematical Statistics in PHP

Precision Through Analysis

View Page 374 views
Laravel Macroable Models Package

Laravel Macroable Models Package

Accelerate Development with Model Macros.

View Page 406 views
Laravel Populated Factory

Laravel Populated Factory

Efficient Test Data Generation.

View Page 398 views
Show Outdated Composer Dependencies in Laravel Pulse

Show Outdated Composer Dependencies in Laravel Pulse

Keep Your Packages Fresh

View Page 231 views
Simple Comments Package for Laravel

Simple Comments Package for Laravel

Core commenting functionality for Laravel.

View Page 396 views
Laravel Shared Data Package

Laravel Shared Data Package

Streamline Your Laravel Workflow with Shared Data.

View Page 331 views

Partners

No verified ads available.