Develops administrative interfaces using Filament v3. Activates when creating or modifying Filament resources, pages, widgets, clusters, or relation managers; working with form() and table() methods; adding actions, bulk actions, or filters; configuring navigation; using the search-docs tool for Filament; or when the user mentions Filament, resource, dashboard, or admin panel.
Use this skill when you are working on anything related to Filament v3, including Resources, Widgets, Pages, and custom components.
php artisan make:filament-resource and similar commands.search-docs tool with filament/filament for any component options.Create resources using:
php artisan make:filament-resource {Name} --generate
Define forms in the form() method:
public static function form(Form $form): Form
{
return $form->schema([
TextInput::make('name')->required(),
Select::make('status')->options([...]),
]);
}
Define tables in the table() method:
public static function table(Table $table): Table
{
return $table->columns([
TextColumn::make('name')->searchable(),
IconColumn::make('is_active')->boolean(),
]);
}
Create widgets using:
php artisan make:filament-widget {Name}