rmitesh / filament-action
Creates a Filament table action.
Installs: 3 409
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rmitesh/filament-action
README
Designed for easy integration and manage of Filament actions.
Installation
You can install the package via composer:
composer require rmitesh/filament-action
Usage
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
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email meet.drive32@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.