New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

tomatophp/filament-helpers

Helper Class Generator to manage your forms and table inside your filament app
8,228 12
Install
composer require tomatophp/filament-helpers
Latest Version:5.0.0
PHP:^8.2
Laravel:11 · 12 · 13
License:MIT
Last Updated:Oct 15, 2026
Links: GitHub  ·  Packagist
Maintainer: fadymondy

Screenshot

Filament Helper Classes

Latest Stable Version License Downloads

Helper class generator to keep the forms, tables, actions and filters of your Filament app in their own classes.

Version Compatibility

Plugin Filament Laravel PHP
1.x 3.x 10.x / 11.x 8.1+
5.x 5.x 12.x / 13.x 8.2+

Installation

composer require tomatophp/filament-helpers

Usage

Run the command and pick the type and name; you can generate the class in app/, inside a laravel-modules module, or in any source folder, optionally inside a resource folder.

php artisan filament:helpers

Or pass everything on the command line:

# form, table, actions, filters or all
php artisan filament:helpers User all
php artisan filament:helpers User form --resource=Users
php artisan filament:helpers User table Blog                       # inside the Blog module
php artisan filament:helpers User all "" packages/accounts/src --namespace="TomatoPHP\FilamentAccounts"

Existing classes are kept unless you confirm or pass --force.

Using Generated Classes

use App\Filament\Resources\Users\Forms\UserForm;
use Filament\Schemas\Schema;

public static function form(Schema $schema): Schema
{
    return UserForm::make($schema);
}
use App\Filament\Resources\Users\Tables\UserTable;
use Filament\Tables\Table;

public static function table(Table $table): Table
{
    return UserTable::make($table);
}
use App\Filament\Resources\Users\Actions\UserActions;
use App\Filament\Resources\Users\Filters\UserFilters;

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

Custom Stubs

php artisan vendor:publish --tag="filament-helpers-stubs"

Then set stub_path in config/filament-helpers.php (publish it with --tag="filament-helpers-config") to base_path('stubs/filament-helpers').

Testing

composer test

Other Filament Packages

Checkout our Awesome TomatoPHP

Related Packages

tomatophp/filament-plugins

Manage your modules as a plugin system with plugin generator

5,054 65
genericmilk/docudoodle

Generate documentation for your Laravel application using OpenAI

49,719 162
codebar-ag/laravel-filament-revealable-field

This is my package laravel-filament-revealable-field

1,408 1
timwassenburg/filament-timesheets

Filament Timesheets is a package for Filament that allows you to track time spen...

1,073 48
akamuraasai/crudgen

CRUD Generator for Laravel 5.x with GUI interface.

444 1

Version History

Version Released PHP License
5.0.0 ^8.2 MIT
v1.0.0 ^8.1|^8.2 MIT