Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

29233

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

PHP DevTools Console

PHP DevTools Console

Uncover the Code. Empower Your Development."

View Page 118 views
Google Natural Language API for Laravel

Google Natural Language API for Laravel

Text analysis, simplified

View Page 334 views
Glob-like File and Pattern Matching Utilities for PHP

Glob-like File and Pattern Matching Utilities for PHP

Empowering communities, inspiring change.

View Page 463 views
Glob-like File and Pattern Matching Utilities for PHP

Glob-like File and Pattern Matching Utilities for PHP

Elevate your file handling.

View Page 346 views
Enforce the Disposal of Objects in PHP

Enforce the Disposal of Objects in PHP

Optimize memory usage with precision

View Page 415 views
Login As A Different User Quickly

Login As A Different User Quickly

Quick and easy user access

View Page 392 views

Partners

No verified ads available.