Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

29271

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

Crawl and Index Your Website with Laravel Site Search

Crawl and Index Your Website with Laravel Site Search

Transform Your Website into a Search Engine.

View Page 357 views
Build SSH Apps with PHP and Laravel Prompts

Build SSH Apps with PHP and Laravel Prompts

Interactive SSH Tools for the Modern Developer.

View Page 246 views
A Feature Flags Implementation for Filament

A Feature Flags Implementation for Filament

Manage features visually within Filament. (Focuses on

View Page 377 views
Install Spark in an Existing Laravel App

Install Spark in an Existing Laravel App

Spark your growth with Laravel

View Page 327 views
Show Outdated Composer Dependencies in Laravel Pulse

Show Outdated Composer Dependencies in Laravel Pulse

Keep Your Packages Fresh

View Page 257 views
GitDown Parsing Markdown in PHP

GitDown Parsing Markdown in PHP

Your Markdown, Enhanced

View Page 223 views

Partners

No verified ads available.