laravel-filament

Implements Filament v5 admin-panel resources, forms, tables, actions, and widgets using correct namespaces.

Updated Nov 29, 2025
One-click install
npx skills add https://github.com/achyutkneupane/Blog-Kit --skill laravel-filament-achyutkneupane
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laravel-filament
Source: https://github.com/achyutkneupane/Blog-Kit/tree/main/.ai/skills/laravel-filament
Command: npx skills add https://github.com/achyutkneupane/Blog-Kit --skill laravel-filament-achyutkneupane

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Filament v5 introduced breaking namespace and API changes (unified Filament\Actions, Schemas layout components, removed BadgeColumn) that cause fatal errors when code follows older v3 patterns. This Skill routes Filament admin-panel work through the correct v5 conventions so generated or edited code uses valid APIs. ## Core Features & Use Cases - Namespace enforcement: Always loads the v5 namespace/import map first to prevent fatal errors from deprecated v3 imports like Filament\Tables\Actions. - Task-routed references: Loads only the relevant reference file (resources, forms, tables, actions, filters, relationships, widgets, panels, notifications, infolists, testing) instead of the entire Filament handbook. - Architectural guardrails: Keeps business logic out of Resource classes and delegates real work to application Actions. - Use Case: When asked to "add a suspend action to the Agent table", the Skill loads the namespaces and actions references, then implements the record action with Filament\Actions\Action, confirmation modal, and a success notification. ## Quick Start Ask the assistant to create or fix a Filament resource, form, table, action, filter, relation manager, widget, or panel configuration using Filament v5 conventions.

Frequently Asked Questions about laravel-filament

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Filament v5 resource with forms and tables?

Run php artisan make:filament-resource Customer to scaffold the resource, pages, extracted form schema, and table classes. The form method accepts a Filament\Schemas\Schema object and the table method configures columns, filters, record actions, and toolbar actions.

What is the correct namespace for actions in Filament v5?

All actions in Filament v5 live under the unified Filament\Actions namespace, including Action, EditAction, DeleteAction, BulkAction, and CreateAction. The old Filament\Tables\Actions and Filament\Forms\Actions namespaces no longer exist and cause fatal errors.

How do I test Filament table actions with Pest?

Use Pest's livewire() helper with the resource's ListRecords page, then call callTableAction('name', $record) and assertNotified() to verify behavior. You can also assert visibility with assertTableActionHidden or assertTableActionVisible per record.

Why does Filament\Tables\Columns\BadgeColumn fail in v5?

BadgeColumn was removed in Filament v5 and no longer exists. Use TextColumn::make('status')->badge() with a ->color() closure to achieve the same badge presentation for status values.

Where do layout components like Section and Grid live in Filament v5?

Layout components moved to the Filament\Schemas\Components namespace in v5, including Section, Grid, Tabs, and Wizard. Importing them from Filament\Forms\Components is a v3 pattern that will break.