Find The Latest Laravel Packages

Login To Post Your Package

People Exploring Laravel

29223

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

Cagilo: Blade Components for Laravel

Cagilo: Blade Components for Laravel

Your toolkit for efficient Laravel development.

View Page 432 views
Generate Persistent Unique Values in Laravel

Generate Persistent Unique Values in Laravel

Ensuring Uniqueness, Safeguarding Concurrency.

View Page 97 views
A Zero-dependency SVG Chart Library for PHP

A Zero-dependency SVG Chart Library for PHP

SVG charts, simplified.

View Page 319 views
Sanitize and Format Data in PHP with the Transformer Package

Sanitize and Format Data in PHP with the Transformer Package

Transform Data Simply

View Page 384 views
HydePHP is a Laravel-powered Static Site Generator

HydePHP is a Laravel-powered Static Site Generator

The Laravel Way to Static Sites."

View Page 305 views
Manage Roles and Permissions in Filament with Hex Lite

Manage Roles and Permissions in Filament with Hex Lite

Forge your vision

View Page 455 views

Partners

No verified ads available.