Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

22883

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

Simple Cookie Consent Packge for Laravel

Simple Cookie Consent Packge for Laravel

Respecting Privacy, Enhancing Trust."

View Page 46 views
Aloia — A Flat-file CMS for Laravel 9

Aloia — A Flat-file CMS for Laravel 9

Power up your Laravel app with Aloia's flat-file CMS.

View Page 372 views
Simplify Laravel Admin Panels with Backpack

Simplify Laravel Admin Panels with Backpack

CRUD for Laravel

View Page 337 views
Write Tabular Assertions with Pest and PHPUnit

Write Tabular Assertions with Pest and PHPUnit

Clear and Easy Data Assertions

View Page 307 views
Convert HEIC Images to JPEG in PHP

Convert HEIC Images to JPEG in PHP

Simple HEIC to JPEG Conversion in PHP.

View Page 509 views
Laravel Solr

Laravel Solr

Elevate Your Search Experience

View Page 239 views

Partners

No verified ads available.