illuminatech/db-safedelete
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...
NOASSERTION license—make this a convenience dependency, not a strategic platform bet.Executive summary: This is a small Laravel utility that attempts permanent deletion and falls back to soft deletion when database constraints prevent it. It can reduce friction and support tickets in delete flows, but it is not a compliance-grade erasure tool. Given its low maturity signals and unclear license, treat it as a tactical convenience to validate—not a default dependency.
For engineering: Low integration cost for Eloquent models using soft deletes; requires tests around transactions, foreign keys, failure handling, and observability. Prefer vendoring or an in-house trait if the license or maintenance risk is unacceptable.
For product: Decide and document what “Delete” means in each workflow. If fallback to archival is acceptable, expose that clearly and monitor how often it happens. If users or regulators expect permanent deletion, do not rely on best-effort fallback.
How can I help you explore Laravel packages today?