laravel-filament
Installation
SKILL.md
- Unified action namespace. ALL actions import from
Filament\Actions\*— neverFilament\Tables\Actions\*orFilament\Forms\Actions\*. These old namespaces DO NOT EXIST in v5. - Table methods changed. Use
->recordActions()not->actions(). Use->toolbarActions()not->bulkActions(). The v3 method names DO NOT EXIST in v5. - No BadgeColumn. Use
TextColumn::make('status')->badge()->color(...).BadgeColumnwas removed. - Schemas package. Layout components come from
Filament\Schemas\Components\*(Section, Grid, Tabs, Wizard). Form fields stay inFilament\Forms\Components\*. Infolist entries stay inFilament\Infolists\Components\*. - No business logic in Resources. Custom actions delegate to project Action classes:
->action(fn ($record) => app(SomeAction::class)->execute($record)). - Schema/Table class extraction. Resources delegate to separate schema and table classes for maintainability. Keep
form()andtable()methods as one-liners that callSomeForm::configure($schema). - Filters stay in Tables namespace.
Filament\Tables\Filters\*is correct. Only actions moved to the unified namespace.
Filament v5 Admin Panel
MANDATORY FIRST RESPONSE PROTOCOL
Before writing ANY Filament code, you MUST complete this checklist: