mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 01:58:00 +08:00
ee8d19292fd328f54acf49174308c3bc359f6158
Filament
A lightweight admin package to jumpstart your Laravel app.
Installation
This package can be used with Laravel 8.x or higher.
The following instructions assume a new installation of Laravel with database and mail setup.
composer require filament/filament dev-master
php artisan migrate
Setup
Before you can use Filament, you must add the necessary Filament\Traits\FilamentUser trait to your App\User model.
Example:
<?php
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Filament\Traits\FilamentUser;
class User extends Authenticatable
{
use Notifiable, FilamentUser;
//...
}
Create a user
php artisan filament:user
Description
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
Readme
711 MiB
Languages
PHP
88.9%
JavaScript
5.7%
Blade
3.4%
CSS
1.9%
Shell
0.1%