PHPackages                             konnco/filament-safely-delete - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. konnco/filament-safely-delete

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

konnco/filament-safely-delete
=============================

0.3.2(3y ago)343.7k↓77%4[3 PRs](https://github.com/konnco/filament-safely-delete/pulls)MITPHPPHP ^8.0

Since Sep 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/konnco/filament-safely-delete)[ Packagist](https://packagist.org/packages/konnco/filament-safely-delete)[ RSS](/packages/konnco-filament-safely-delete/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (5)Dependencies (15)Versions (9)Used By (0)

[![Screenshot of Login](./art/screenshot.png)](./art/screenshot.png)

Filament Confirm Delete
=======================

[](#filament-confirm-delete)

[ ![FILAMENT 2.x](https://camo.githubusercontent.com/ffb3946459ec228fbda7af8fcf67f328a4d0280773c1918dd63fc5658abfaf2b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46494c414d454e542d322e782d454242333034)](https://filamentadmin.com/docs/2.x/admin/installation)[ ![Packagist](https://camo.githubusercontent.com/2a81c4647016f7a9d77543765a29ceec18058fb45b1fd1a5814c32f5c207079f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f6e6e636f2f66696c616d656e742d736166656c792d64656c6574652e7376673f6c6f676f3d7061636b6167697374)](https://packagist.org/packages/konnco/filament-safely-delete)[ ![Downloads](https://camo.githubusercontent.com/3a1722b6d1eb123702940704a52c48a085783d64275df46882035b6fc122abe4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f6e6e636f2f66696c616d656e742d736166656c792d64656c6574652e737667)](https://packagist.org/packages/konnco/filament-safely-delete)[![Code Styles](https://github.com/konnco/filament-safely-delete/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/konnco/filament-safely-delete/actions/workflows/php-cs-fixer.yml)[![run-tests](https://github.com/konnco/filament-safely-delete/actions/workflows/run-tests.yml/badge.svg)](https://github.com/konnco/filament-safely-delete/actions/workflows/run-tests.yml)

This plugin is intended for those of you who are worried about your data being accidentally deleted.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require konnco/filament-safely-delete
```

Usage
-----

[](#usage)

import the actions into the `Resource` page

```
use Konnco\FilamentSafelyDelete\Tables\Actions\RevertableDeleteAction;

class PostResource extends Resource
{
    public static function table(Table $table): Table
    {
        return $table
            ->columns([
                Tables\Columns\TextColumn::make('title'),
                Tables\Columns\TextColumn::make('slug'),
                Tables\Columns\TextColumn::make('body'),
            ])
            ->filters([
                //
            ])
            ->actions([
                Tables\Actions\EditAction::make(),
                DeleteAction::make()
                    ->usingField('title')
            ])
            ->bulkActions([
                Tables\Actions\DeleteBulkAction::make(),
            ]);
    }
}
```

### Undo Delete

[](#undo-delete)

You can also use to delete undo in your resource.

```
use Konnco\FilamentSafelyDelete\Tables\Actions\RevertableDeleteAction;

class PostResource extends Resource
{
    public static function table(Table $table): Table
    {
        return $table
            ->columns([
                Tables\Columns\TextColumn::make('title'),
                Tables\Columns\TextColumn::make('slug'),
                Tables\Columns\TextColumn::make('body'),
            ])
            ->filters([
                //
            ])
            ->actions([
                Tables\Actions\EditAction::make(),
                RevertableDeleteAction::make()
            ])
            ->bulkActions([
                Tables\Actions\DeleteBulkAction::make(),
            ]);
    }
}
```

and implementing `HasRevertableRecord` traits in your `ListRecords`

```
use Konnco\FilamentSafelyDelete\Pages\Concerns\HasRevertableRecord;

class ListBlogPosts extends ListRecords
{
    use HasRevertableRecord;
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/konnco/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

### Contributors

[](#contributors)

  [ ![Franky](https://avatars.githubusercontent.com/u/5705520?v=4)
 **Franky So** ](https://github.com/frankyso)   [ ![Herbert](https://avatars.githubusercontent.com/u/654271?v=4)
 **Herbert Maschke** ](https://github.com/thyseus)   [ ![abangijal/](https://avatars.githubusercontent.com/u/17308059?v=4)
 **abangijal** ](https://github.com/ijalnasution)   [ ![frankyso](https://avatars.githubusercontent.com/u/5705520?v=4)
 **Franky So** ](https://github.com/frankyso)   [ ![thyseus](https://avatars.githubusercontent.com/u/654271?v=4)
 **Herbert Maschke** ](https://github.com/thyseus)   [ ![ijalnasution](https://avatars.githubusercontent.com/u/17308059?v=4)
 **Abangijal** ](https://github.com/ijalnasution)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~37 days

Total

5

Last Release

1227d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cc4521e9641c59a269f7ec3a670d781681e7d7be8e57be66dafd95d15304693?d=identicon)[frankyso.pg](/maintainers/frankyso.pg)

---

Top Contributors

[![frankyso](https://avatars.githubusercontent.com/u/5705520?v=4)](https://github.com/frankyso "frankyso (32 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![thyseus](https://avatars.githubusercontent.com/u/654271?v=4)](https://github.com/thyseus "thyseus (2 commits)")[![ijalnasution](https://avatars.githubusercontent.com/u/17308059?v=4)](https://github.com/ijalnasution "ijalnasution (1 commits)")

---

Tags

laravelimportfilament-safely-delete

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/konnco-filament-safely-delete/health.svg)

```
[![Health](https://phpackages.com/badges/konnco-filament-safely-delete/health.svg)](https://phpackages.com/packages/konnco-filament-safely-delete)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.9k3](/packages/defstudio-telegraph)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k95](/packages/nativephp-mobile)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
