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

Filament Safely Delete Laravel Package

konnco/filament-safely-delete

A Filament plugin that makes deleting records safer by adding confirmation safeguards to the delete action, helping prevent accidental data loss in your admin panels. Quick to install and easy to drop into existing resources and tables.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Destructive-action UX standards for admin surfaces. This package gives Filament admin panels a "type-to-confirm" style guard on delete actions, so it directly informs the decision of how much friction to add before irreversible operations on high-value records (customers, orders, billing entities, tenant configs). It is a cheap way to prototype and standardize that pattern rather than debating it in the abstract.
  • Build vs. buy for admin-panel safety. The capability is small and well-scoped. This package is the "buy" (free, MIT) baseline to price against an internal implementation — realistically a day or two of engineering plus a design review. The decision it unlocks is whether to vendor/fork ~a few dozen lines or adopt upstream.
  • Roadmap sequencing: internal tooling vs. core product. Lets you defer a bespoke "admin safety" epic by shipping a stopgap now, provided the adoption risk is acceptable. Useful when support/ops is asking for deletion guardrails and the core roadmap is already full.
  • Incident-reduction and compliance posture. Accidental deletion is a recurring support-cost and trust event and a common change-management finding in SOC 2 / ISO reviews. Adopting a confirmation guard is evidence of a control; the decision is whether that control is enforced consistently across resources or ad hoc.
  • Use-case scoping. Fits internal ops consoles, support/admin back offices, and enterprise-customer-facing admin areas where a single misclick is expensive. It does not address recoverability (soft deletes, recycle bin, retention) — those remain separate roadmap items and should be scoped independently.

When to Consider This Package

Adopt (or copy) when:

  • You are on the Filament version this plugin targets (the 0.3.x line, i.e. pre-v3 Filament) and have a small number of high-risk resources where a confirmation step is warranted. Verify compatibility explicitly before committing — the 0.3.2 release adds Laravel 10 support but does not move the plugin onto current Filament majors.
  • You need the pattern quickly and want a working reference implementation rather than a spec. 0.3.2's "skip validation in testing environment" change makes it materially easier to exercise admin flows in your test suite without the type-to-confirm step blocking automated tests — a small but real DX win if you prototype with it.
  • Your team is comfortable treating this as a vendored/forked snippet rather than a long-lived dependency.

Look elsewhere or build in-house when:

  • You are on Filament v3+. Native action confirmation (requiresConfirmation, custom modal content, form-in-modal) covers most of this. Buying a lagging dependency to duplicate a first-party feature is a net negative.
  • Your requirement is actually recoverability or auditability — soft deletes, restore UI, retention windows, deletion audit logs. This package is a friction layer, not a safety net.
  • Maintenance signals matter to your org: 34 stars, zero dependents, single maintainer. 0.3.2 is a maintenance cut only — a Laravel 10 compatibility bump, a test-environment escape hatch, and three Dependabot chores, with no new capability and no indication of a Filament v3 path. That is a pattern to borrow, not a platform to depend on.
  • You need policy-driven behavior (per-role, per-resource, per-tenant deletion rules) or integration with approval workflows — you will outgrow it immediately.

Recommended PM call: treat this as a design reference and a one-sprint decision, not a dependency decision. Fork-and-vendor or reimplement; do not add it to the critical path. 0.3.2 does not change that verdict — it modestly improves the "is this abandoned?" answer (Laravel 10 is now supported, one new contributor), but it is housekeeping, not investment.

How to Pitch It (Stakeholders)

To executives: A free, MIT-licensed plugin that adds a confirmation step before destructive deletes in our admin panel — the kind of guardrail that prevents "one wrong click" incidents and gives us a defensible change-management control for compliance reviews. Cost is negligible; the real decision is small. A new maintenance release (0.3.2) has landed, but it only adds framework-version compatibility and housekeeping — no new capability, still a single maintainer, still no modern admin-panel support. My recommendation is unchanged: borrow the pattern, not the dependency. A short internal implementation (roughly 1–2 engineering days) gives us the same protection with no third-party risk.

To engineering: Small Filament action wrapper that gates deletes behind an explicit confirmation. Worth reading as a reference. 0.3.2 brings Laravel 10 support plus a testing environment bypass for the validation step, which makes it more testable — but it still targets pre-v3 Filament, has zero dependents and a single maintainer. Proposal: reimplement natively against Filament's built-in action confirmation, standardize it in a shared base action, and apply it to a named list of high-risk resources. Separately scope soft deletes and deletion auditing — those are the controls that actually make deletion recoverable.

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource