Requirements
Before installing Filament, ensure your environment meets these requirements:- PHP 8.2+
- Laravel v11.28+
- Tailwind CSS v4.1+ (only when using custom themes)
Choose Your Installation Path
Filament offers two installation options depending on your use case:Panel Builder
Most people choose this option to build a panel (e.g., admin panel) for their app. The panel builder combines all the individual components into a cohesive framework.
Individual Components
If you are using Blade to build your app from scratch, you can install individual components from Filament to enrich your UI.
Installing the Panel Builder
This is the recommended approach for building admin panels and full-featured dashboards.Run the installation command
Run the Filament installation command to set up the panel:This will create and register a new Laravel service provider at
app/Providers/Filament/AdminPanelProvider.php.Verify service provider registration
Check that the service provider is registered in
bootstrap/providers.php. If it’s not registered, you’ll need to add it manually:Create your first user
Create a new user account to access the admin panel:This command will prompt you for:
- Name
- Email address
- Password (minimum 8 characters)
Installing Individual Components
If you prefer to use Filament components within your existing Blade views, you can install individual packages.Install the packages you need
Install the Filament components you want to use with Composer:
You can install additional packages later in your project without having to repeat these installation steps.
Install frontend assets
Run the following command to install the Filament frontend assets:For new Laravel projects, you can use the
--scaffold flag to automatically set up Livewire, Alpine.js, and Tailwind CSS:Configure styles
Import the CSS files for the Filament packages you installed in
resources/css/app.css:Configure the Vite plugin
Add the
@tailwindcss/vite plugin to your Vite configuration (vite.config.js):Create a layout file
If you don’t have a Blade layout file yet, create it at Update the layout file with the following structure:
resources/views/components/layouts/app.blade.php:The
@livewire('notifications') line is only required if you have the Notifications package installed and want to send flash notifications to users.Publishing Configuration
Filament ships with a configuration file that allows you to override defaults shared across all packages.config/filament.php, where you can configure options like:
- Default filesystem disk for file uploads
- File generation flags for artisan commands
- UI defaults and component behavior
Next Steps
Quick Start
Follow our tutorial to build your first resource
Panel Configuration
Learn how to configure your admin panel