michaeldyrynda/laravel-cascade-soft-deletes
Cascading deletes for Eloquent models that implement soft deletes observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 73
- Release rhythm 63
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 50
- age_days: 3776
- days_rel: 166
- days_push: 166
- n_releases_24m: 4
Adoption not part of the score
1180 stars · 86 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Laravel package that adds cascading deletes to Eloquent models using soft deletes, restoring the ON DELETE CASCADE behavior lost when using the SoftDeletes trait. Child relationships are soft deleted alongside parents when a model is deleted.
Use cases
- cascade soft deletes to related eloquent models
- soft delete parent and child records in laravel
- restore cascade delete behavior with soft deletes
- automatically soft delete related models when parent is deleted
- laravel package for cascading soft deletes
When to choose
- you use Laravel's SoftDeletes and need related records deleted too
- you want application-level cascading instead of database foreign key constraints
- you need cascading across nested relationships
When to avoid
- you don't use soft deletes (plain database ON DELETE CASCADE suffices)
- you need to restore children along with the parent (children restoration is not tracked)
- you're not using Laravel or Eloquent
Facets
library · maturity active
orm database web-development databases backend php laravel-package eloquent soft-deletes cascade-deletes composer-package laravel
2 sources
- readme: https://github.com/michaeldyrynda/laravel-cascade-soft-deletes · fetched 2026-08-28 · ab0cc0340165
- homepage: https://dyrynda.com.au · fetched 2026-08-29 · 49dc3a5f2737
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| michaeldyrynda/laravel-cascade-soft-deletes | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="michaeldyrynda/laravel-cascade-soft-deletes")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem