Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

25611

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

Lightweight Spreadsheets for Laravel

Lightweight Spreadsheets for Laravel

Laravel's Spreadsheet Solution.

View Page 331 views
Laravel Populated Factory

Laravel Populated Factory

Efficient Test Data Generation.

View Page 390 views
Easily Add Marks to Your Laravel App with Markable

Easily Add Marks to Your Laravel App with Markable

Empower your users with markable content.

View Page 419 views
Friendly Prefix IDs for Eloquent Models

Friendly Prefix IDs for Eloquent Models

Humanize Your Model IDs.

View Page 249 views
Socialite Implementation for Laravel Jetstream

Socialite Implementation for Laravel Jetstream

Social Sign-In Simplified

View Page 435 views
Generate Migrations from an existing database

Generate Migrations from an existing database

Seamlessly Evolve Your Database."

View Page 284 views

Partners

No verified ads available.