Designed for easy integration and manage of Filament actions.
You can install the package via composer:
composer require rmitesh/filament-action
php artisan make:filament-action User Comment
This command generates a new Filament action class called CommentAction
for the UserResource
This action class will be used to define the logic and behavior for handling custom action in UserResource
within the Filament admin panel.
Now, in UserResource
register this action
public static function table(Table $table): Table
{
return $table
->actions([
// ...
CommentAction::make(),
])
}
You can use same methods available in the Filament Table Action
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.