Skip to main content

Filament + Jetstream + Shild

install laravel

laravel new laravel-filament

pindah direktori

cd laravel-filament

jalankan npm install dan build

npm install && npm run build

install filament

composer require filament/filament:"^3.2" -W

download plugin filament jetstream

composer require stephenjude/filament-jetstream

install plugin filament jetstream team api

php artisan filament:jetstream:install --teams --api

download plugin filament shield

composer require bezhansalleh/filament-shield

publish filament shield config

php artisan vendor:publish --tag="filament-shield-config"

shield setup shield

php artisan shield:setup --tenant=App\\Models\\Team --fresh

shield install app

php artisan shield:install app --tenant --generate-relationships

shield generate

php artisan shield:generate --all

Register User

generate super_admin

php artisan shield:super_admin --user=1 --panel=app --tenant=1

generate seeder

php artisan shield:seeder

running seeder

php artisan db:seed