# JWT Version Installation
Install via composer
.
composer require bitfumes/laravel-multiauth:dev-jwtauth-permission
1
# Setup Admin Authentication
Setup Configurations
, Migrations
and seed
super admin with role
and permissions
Note: Database connection
Make sure you setup your database connection on .env
file before running install command.
php artisan multiauth:install
1
Above command do 4 things
- Publishing Configurations
- Publishing Migrations
- Running Migrations
- Seeding New Super Admin
- This also create a role called
super
- Create permissions for
CRUD
ofAdmin
andRole
- This also create a role called
So you will have a super admin with email as super@admin.com
and password as secret123