dyrynda/laravel-cascade-soft-deletes
Adds cascading soft deletes to Laravel Eloquent models via a simple trait. When a parent model is soft deleted or restored, its related models are soft deleted or restored too, keeping data consistent without extra observers or manual event wiring.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| iatstuti/laravel-cascade-soft-deletes | 0.88 | Laravel Cascade Soft Deletes adds an Eloquent trait that automatically cascades soft deletes, restores, and force deletes to related models, keeping parent and child records consistent without custom model event code. | 1,176 | 1,180 | 86 | 3K | 0 | 16.2 | 7.5 | MIT | 7 months ago | |
| gigerit/laravel-cascade-delete | 0.88 | gigerit/laravel-cascade-delete brings trait-based cascade deletes to Laravel Eloquent models, automatically removing related records when a parent is deleted. Prevent orphaned rows without fragile DB foreign keys and keep your data consistent and relationships tidy. | 5 | 5 | 2 | 789 | 0 | 19.8 | 34.4 | MIT | 1 week ago | |
| dcat/laravel-softdeletes | 0.87 | dcat/laravel-softdeletes adds enhanced soft delete support to Laravel Eloquent models. Cascade deletes and restores across related records, keep data consistent, and avoid unique constraint conflicts from trashed rows, all through simple traits with minimal configuration. | 36 | 36 | 3 | 3 | 3 | 1.0 | 0.9 | MIT | 5 years ago | |
| sbamtr/laravel-auto-hard-deleter | 0.86 | Automatically hard delete soft-deleted Eloquent models after a configurable retention period. Add a trait to your models, set how long records should linger in the trash, and let Laravel's scheduler permanently purge them, with no manual cleanup jobs required. | 47 | 47 | 3 | 0 | 0 | 0.2 | — | MIT | 4 years ago | |
| julianstark999/laravel-model-iid | 0.86 | Laravel package that adds a compact, auto-incrementing IID column to Eloquent models, giving records a short human-friendly identifier for URLs, support tickets, and admin views while UUIDs or ULIDs remain the real primary key. | 0 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 5 years ago | |
| wernerdweight/doctrine-cascade-soft-delete-bundle | 0.86 | wernerdweight/doctrine-cascade-soft-delete-bundle adds cascade soft-delete support to Doctrine entities in Symfony, helping related records be marked as deleted alongside their parent while respecting entity associations and configurable cascade behavior. | 0 | 0 | 0 | 28 | 0 | 0.0 | 20.2 | MIT | 3 years ago | |
| tenantcloud/laravel-boolean-softdeletes | 0.86 | Laravel soft deletes backed by a boolean column instead of a nullable timestamp. A drop-in trait keeps the familiar SoftDeletes API while making delete checks and indexes faster and simpler, ideal for high-volume tables where a deleted flag beats deleted_at comparisons. | 27 | 27 | 17 | 3K | 0 | 1.2 | 27.9 | MIT | 1 year ago | |
| shiftonelabs/laravel-cascade-deletes | 0.86 | — | 165 | 165 | 10 | 60K | 0 | 1.1 | 35.4 | MIT | — | |
| laravel-json-api/boolean-softdeletes | 0.86 | Adds boolean soft delete support to Laravel JSON:API resources. Rather than a deleted_at timestamp, models are flagged with a boolean column, so trashed records stay visible and filterable through your API while normal queries still exclude them. | 3 | 3 | 1 | 1K | 1 | 0.1 | 33.3 | Apache-2.0 | — | |
| romanzipp/laravel-previously-deleted | 0.86 | Laravel package for handling previously deleted Eloquent models. It helps you detect records that were soft-deleted in the past and use that information when validating, restoring, or creating new entries, helping avoid duplicate or conflicting data. | 3 | 3 | 0 | 154 | 0 | 0.3 | 22.1 | MIT | 6 years ago | |
| cesargb/laravel-cascade-delete | 0.85 | — | 20 | 20 | 4 | 3K | 0 | 13.8 | 30.7 | MIT | 8 months ago | |
| incompass/soft-deletable-bundle | 0.85 | A Symfony bundle that adds soft-delete support to Doctrine entities. Mark records as deleted without removing them from the database, automatically filter them from normal queries, and restore them when needed, helping preserve data history and build safer deletion workflows. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| spatie/laravel-deleted-models | 0.85 | Automatically copy deleted Eloquent model attributes into a deleted_models table to create a recycle bin for records. Restore deleted models by ID when needed. An alternative to soft deletes for preserving deletion history without keeping rows in place. | 411 | 413 | 26 | 21K | 0 | 14.0 | 25.0 | MIT | 8 months ago | |
| evence/soft-deleteable-extension-bundle | 0.85 | Symfony bundle that extends Gedmo's SoftDeleteable listener, adding onSoftDelete annotations to entity associations. Supports CASCADE, SET NULL, and SUCCESSOR behaviors so references are handled cleanly when a parent is soft-deleted, avoiding Doctrine errors. | 57 | 57 | 38 | 6K | 6 | 9.6 | 29.5 | MIT | 2 years ago | |
| illuminatech/db-safedelete | 0.85 | Illuminatech/db-safedelete adds safe, reversible deletion to Laravel Eloquent models. Instead of permanently removing records, it marks them as deleted, supports restoring them, and helps keep related data and queries consistent. Useful for audit-friendly apps that need recoverable deletes without c... | 16 | — | 0 | — | 0 | 0.1 | — | NOASSERTION | — | |
| f9webltd/laravel-deletable | 0.84 | — | 158 | 158 | 8 | 2K | 2 | 12.0 | 15.8 | MIT | 7 months ago | |
| wynd/nihilus | 0.84 | A lightweight Laravel package that lets you cast Eloquent attributes to custom value objects, keeping domain logic strongly typed, reusable, and out of your models for cleaner, more expressive code. | 7 | 7 | 1 | 314 | 0 | 0.1 | 22.2 | MIT | 6 years ago | |
| promethys/revive | 0.84 | Revive adds a central Recycle Bin to FilamentPHP apps, letting you view, restore, or permanently delete soft-deleted Eloquent models in a few clicks. Register models with a trait, filter by type, and recover deleted data fast. | 16 | 16 | 2 | 704 | 0 | 17.8 | 25.0 | MIT | 4 months ago | |
| xcentric/soft-deleteable-extension-bundle | 0.84 | Xcentric SoftDeleteable Extension Bundle adds soft-delete support for Doctrine entities in Symfony, marking records as deleted instead of removing them and enabling filtered queries, restore, and permanent purge workflows. | 0 | 1 | — | 1 | — | 0.0 | 4.2 | — | — | |
| helgesverre/laravel-prunekeeper | 0.84 | PruneKeeper gives Laravel apps a central home for model pruning: define retention rules, schedule prune commands, and track what gets cleaned up so your database stays lean without scattered ad-hoc cleanup scripts or guesswork. | 2 | — | 0 | — | 0 | 2.0 | — | MIT | 11 months ago |
How can I help you explore Laravel packages today?