Skip to main content
You are currently viewing the documentation for Filament 4.x, which is a previous version of Filament.Looking for the current stable version? Visit the 5.x documentation.
Filament requires the following to run:
  • PHP 8.2+
  • Laravel v11.28+
  • Tailwind CSS v4.1+
Installation comes in two flavors, depending on whether you want to build an app using our panel builder or use the components within your app’s Blade views:
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. You can create as many panels as you like within a Laravel installation, but you only need to install it once.

Installing the panel builder

Install the Filament Panel Builder by running the following commands in your Laravel project directory:
composer require filament/filament:"^4.0"

php artisan filament:install --panels
When using Windows PowerShell to install Filament, you may need to run the command below, since it ignores ^ characters in version constraints:
composer require filament/filament:"~4.0"

php artisan filament:install --panels
This will create and register a new Laravel service provider called app/Providers/Filament/AdminPanelProvider.php.
If you get an error when accessing your panel, check that the service provider is registered in bootstrap/providers.php. If it’s not registered, you’ll need to add it manually.
You can create a new user account using the following command:
php artisan make:filament-user
Open /admin in your web browser, sign in, and start building your app!

Publishing configuration

Filament ships with a configuration file that allows you to override defaults shared across all packages. Publish it after installing the panel builder so you can review and customize the settings:
php artisan vendor:publish --tag=filament-config
This command creates config/filament.php, where you can configure options like the default filesystem disk, file generation flags, and UI defaults. Re-run the publish command any time you want to pull in newly added configuration keys before tweaking them to suit your project.

Sponsored by