rmitesh / filament-action

Creates a Filament table action.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filament Action

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.

About

Creates a Filament table action.


Languages

Language:PHP 100.0%