Search FilamentPHP v4 official documentation for patterns, methods, and implementation examples
Search FilamentPHP v4 documentation for patterns, methods, and implementation examples. Use when you need official docs for forms, tables, actions, or any Filament component.
/plugin marketplace add mwguerra/claude-code-plugins/plugin install post-development@mwguerra-marketplace<topic-or-search-query>Search and reference the official FilamentPHP v4 documentation to find patterns, examples, and solutions.
# Search for a topic
/filament:docs "form validation"
# Find specific component docs
/filament:docs "TextInput"
# Search for patterns
/filament:docs "relationship select"
# Find examples
/filament:docs "file upload with preview"
Identify:
Search in /home/mwguerra/projects/mwguerra/claude-code-plugins/filament-specialist/skills/filament-docs/references/
references/
├── actions/ # Modal actions, button actions
├── forms/ # Form field types
├── general/
│ ├── 01-introduction/ # Getting started
│ ├── 03-resources/ # CRUD resources
│ ├── 06-navigation/ # Menus, groups
│ ├── 07-users/ # Auth, permissions
│ ├── 08-styling/ # CSS, theming
│ ├── 09-advanced/ # Advanced patterns
│ ├── 10-testing/ # Testing guide
│ ├── 11-plugins/ # Plugin development
│ └── 12-components/ # UI components
├── infolists/ # Read-only display
├── notifications/ # Toast/database notifications
├── schemas/ # Data schemas
├── tables/
│ ├── 02-columns/ # Column types
│ └── 03-filters/ # Filter types
└── widgets/ # Dashboard widgets
From documentation, extract:
Provide:
| Topic | Location |
|---|---|
| Text inputs | forms/ |
| Select fields | forms/ |
| File uploads | forms/ |
| Repeaters | forms/ |
| Validation | forms/ |
| Layout | forms/ |
| Topic | Location |
|---|---|
| Text columns | tables/02-columns/ |
| Badge columns | tables/02-columns/ |
| Image columns | tables/02-columns/ |
| Select filters | tables/03-filters/ |
| Date filters | tables/03-filters/ |
| Topic | Location |
|---|---|
| Creating resources | general/03-resources/ |
| Relation managers | general/03-resources/ |
| Custom pages | general/03-resources/ |
| Topic | Location |
|---|---|
| Table actions | actions/ |
| Page actions | actions/ |
| Modal forms | actions/ |
| Bulk actions | actions/ |
| Topic | Location |
|---|---|
| Stats widgets | widgets/ |
| Chart widgets | widgets/ |
| Table widgets | widgets/ |
| Topic | Location |
|---|---|
| Navigation | general/06-navigation/ |
| Users/Auth | general/07-users/ |
| Styling | general/08-styling/ |
| Testing | general/10-testing/ |
| Plugins | general/11-plugins/ |
Select::make('author_id')
->relationship('author', 'name')
->searchable()
->preload()
->createOptionForm([
TextInput::make('name')
->required(),
TextInput::make('email')
->email()
->required(),
])
->createOptionAction(function (Action $action) {
return $action
->modalHeading('Create Author')
->modalSubmitActionLabel('Create');
});
DeleteAction::make()
->requiresConfirmation()
->modalHeading('Delete record')
->modalDescription('Are you sure you want to delete this? This cannot be undone.')
->modalSubmitActionLabel('Yes, delete')
->modalCancelActionLabel('Cancel');
Tables\Filters\Filter::make('created_at')
->form([
DatePicker::make('from'),
DatePicker::make('until'),
])
->query(function (Builder $query, array $data): Builder {
return $query
->when(
$data['from'],
fn (Builder $query, $date): Builder => $query->whereDate('created_at', '>=', $date),
)
->when(
$data['until'],
fn (Builder $query, $date): Builder => $query->whereDate('created_at', '<=', $date),
);
});
Provide:
/docsUpdate or generate YAML documentation for SQL models with proper descriptions and tests