rmitesh/filament-action

Creates a Filament table action.

v1.0.6 2023-05-20 22:00 UTC

This package is auto-updated.

Last update: 2024-10-09 20:28:20 UTC


README

Latest Version on Packagist Total Downloads

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(),
		])
}

image

image

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.