LaravelPackages.net
Acme Inc.
Toggle sidebar
tomatophp/filament-helpers

Helper Class Generator to manage your forms and table inside your filament app

8.134
12
v1.0.0
About tomatophp/filament-helpers

tomatophp/filament-helpers is a Laravel package for helper class generator to manage your forms and table inside your filament app. It currently has 12 GitHub stars and 8.134 downloads on Packagist (latest version v1.0.0). Install it with composer require tomatophp/filament-helpers. Discover more Laravel packages by tomatophp or browse all Laravel packages to compare alternatives.

Last updated

Screenshot

Filament Helper Classes

Latest Stable Version License Downloads

Helper Class Generator to manage your forms and table inside your filament app

Screenshots

Command

Installation

composer require tomatophp/filament-helpers

Using

to generate a new helper class you can use this command

php artisan filament:helpers

and select the type and name, and you can generate the class inside module or on selected path inside your resource.

Using Generated Class

and you can use the generated class like this

use App\Filament\Resources\AccountResource\Forms\UserForm;

public function form(Form $form): Form
{
    return UserForm::make($form);
}
use App\Filament\Resources\AccountResource\Tables\UserTable;

public function form(Table $table): Table
{
    return UserTable::make($table);
}
use App\Filament\Resources\AccountResource\Actions\UserActions;

public function table(Table $table): Table
{
    return $table->actions(UserActions::make());
}
use App\Filament\Resources\AccountResource\Actions\UserFilters;

public function table(Table $table): Table
{
    return $table->filters(UserFilters::make());
}

Other Filament Packages

Checkout our Awesome TomatoPHP

Comments