Rest api using spatie roles and permissions with sanctum authentication
Instalation step
- Fork the repsitory.
- Run below command serially
composer install
cp .env.example .env
php artisan key:generate
Sync Database
php artisan migrate:fresh --seed
php artisan db:seed --class=UserSeeder - Run php artisan serve