Filament requires Laravel 8.x or higher, and PHP 7.4 or higher.Installation:
/admin in your browser.
To start building your admin panel, create a resource.
Configuration
If you’d like to expose advanced configuration options for Filament, you may publish its configuration file:If you have published the configuration file for Filament, please ensure that you republish it when you upgrade.
Users
By default, Filament includes its own authentication guard and users table that is completely separate from your app’s users table. This enables you to get up and running with Filament at record speed. Some projects may choose to allow their app users access to Filament. In this case, they may customize the auth guard that Filament uses by configuringauth.guard to the name of your default guard, typically web.
The next step is to prepare your User model for use with Filament. Implement the Filament\Models\Contracts\FilamentUser interface, and apply the Filament\Models\Concerns\IsFilamentUser trait. These provide Filament with an API that it can use to interact with your existing user data:
$filamentUserColumn property on your custom user class to the name of a boolean column in your database:
canAccessFilament() on your custom user class, returning a boolean:
$filamentAdminColumn and $filamentRolesColumn properties on your class:
isFilamentAdmin() method:
sendPasswordResetNotification($token) function. You can use the Filament\Models\Concerns\SendsFilamentPasswordResetNotification trait to add this functionality to your User model, fully integrated with Filament:
Disabling the Default Migrations
You may wish to prevent the migration for the default users table from being registered. You may do this by calling:register() method of your AppServiceProvider.
Stubs
Filament commands use stubs as templates when creating new files in your project. You may customize these stubs by publishing them to your app:If you have published the stubs for Filament, please ensure that you republish them when you upgrade.