filamentphp-development

Develops, reviews, and troubleshoots Filament v5 code for Laravel applications.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/thedutchvisiongroup/agent-skills --skill filamentphp-development-thedutchvisiongroup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: filamentphp-development
Source: https://github.com/thedutchvisiongroup/agent-skills/tree/main/skills/filamentphp-development
Command: npx skills add https://github.com/thedutchvisiongroup/agent-skills --skill filamentphp-development-thedutchvisiongroup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building admin panels and CRUD interfaces with Filament v5 requires knowing the correct primitives, namespaces, and API changes from earlier versions, and mistakes like using deprecated methods or skipping authorization checks lead to broken or insecure code. ## Core Features & Use Cases - Idiomatic Code Generation: Produces Filament v5 Resources, Forms, Tables, Infolists, Actions, Widgets, and Schema Layouts using correct v5 namespaces and APIs such as recordActions() and ->schema(). - Code Review and Debugging: Reviews Filament code for correctness, authorization gaps, and unidiomatic patterns, and diagnoses issues with structured root-cause workflows. - Panel Configuration Guidance: Covers authentication, theming, plugins, multi-tenancy, SPA mode, notifications, and deployment optimization. - Use Case: You need a Customer resource with soft deletes, filters, and an export action. The Skill scaffolds the resource, configures the table with TrashedFilter and ExportAction, and reminds you to run the queue batches and notifications table migrations. ## Quick Start Ask the assistant to create a Filament v5 resource with a form, table filters, and an export action for your Laravel model.

Frequently Asked Questions about filamentphp-development

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

FAQPage Schema
How do I create a Filament v5 resource in Laravel?

Run php artisan make:filament-resource Customer to generate the resource with separate form and table classes under Schemas/ and Tables/. Add --generate to introspect the database, --soft-deletes for trash support, or --simple for modal-based CRUD.

What changed in Filament v5 table actions compared to v4?

In v5, ->actions([]) is replaced by ->recordActions([]) for row actions, and bulk actions go inside BulkActionGroup::make([]) within ->toolbarActions([]). Header actions use ->headerActions([]).

Does Filament v5 use form() or schema() in action modals?

Filament v5 action modals use ->schema([]), which replaces the old ->form([]) method from v3/v4. The schema can mix form fields, infolist entries, and layout components like Grid and Section.

Why is my Filament import or export action not working?

Import and export actions require the queue batches table and notifications table migrations. Run php artisan make:queue-batches-table and php artisan make:notifications-table, then migrate, and ensure queue workers are running.

How do I restrict access to a Filament panel or resource?

Implement the FilamentUser contract with canAccessPanel() on your User model for panel access, and define Laravel policies for resource-level authorization. Hiding navigation or buttons is only UX and provides no real security.

When should I not use this Filament v5 skill?

Avoid it for Filament v3/v4 projects unless you explicitly need migration guidance, for generic Laravel work without Filament components, and for frontend-only tasks unrelated to Filament or Livewire.