Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Db Safedelete Laravel Package

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...

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Delete/retention UX: Supports a pragmatic “delete permanently when safe, otherwise archive” behavior for admin, account, tenant, or record deletion flows where foreign-key constraints would otherwise throw errors.
  • Feature scoping: Useful for low-risk cleanup features, bulk purge jobs, or legacy data retirement where hard deletion is preferred but soft deletion is an acceptable fallback.
  • Build vs. buy: The capability is narrow and likely implementable as a small Eloquent trait; package adoption should be weighed against in-house code, tests, and ownership. Weak package-health signals—16 stars, score 0.08, and NOASSERTION license—make this a convenience dependency, not a strategic platform bet.
  • Roadmap input: If adopted, product should plan for observability and policy: fallback rates, records stuck in soft-delete, purge backlogs, and clear user-facing language about whether “Delete” means permanent removal or archival.
  • Compliance caution: This is not a GDPR/right-to-erasure solution by itself. If hard deletion is legally required, silent fallback to soft delete can create compliance risk unless policy, exception handling, and reporting are defined.

When to Consider This Package

  • Consider it when the product already uses Laravel soft deletes, foreign-key constraints are common, and “best-effort hard delete, otherwise soft delete” is an explicitly acceptable product behavior.
  • It fits small internal tools or admin workflows where a failed force delete should not break the user flow and where retained data is acceptable.
  • Adoption requires legal review of the unclear license, confirmation of Laravel/PHP version support, and a maintenance check: recent commits, issue responsiveness, test coverage, and whether the behavior is easy to fork or vendor.
  • Look elsewhere when deletion must be guaranteed, auditable, or regulator-approved; when soft-deleted data is unacceptable; when cascade/restrict behavior should be explicit; or when the team needs a supported, actively maintained dependency.
  • Also look elsewhere if the package would be used in high-scale or security-sensitive paths without clear observability, because fallback behavior can mask schema and dependency problems and cause unbounded data accumulation.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk