panlatent/filament-action-confirmation

Prompt the user to enter the specified text before performing sensitive operations.

dev-main 2025-05-22 01:43 UTC

This package is auto-updated.

Last update: 2025-05-22 01:44:06 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Require users to perform input validation before executing an action.

Installation

You can install the package via composer:

composer require panlatent/filament-action-confirmation

Usage

Directly use the DeleteAction and other actions provided by the plugin.

use Panlatent\Filament\ActionConfirmation\Tables\Actions\DeleteAction;

public static function table(Table $table): Table
{
    return $table
       ->actions([
             DeleteAction::make()
                    ->confirmInput('name'),
        ]));
}

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.