- composer require spatie/laravel-permission
- composer require laravel/ui
- php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider" --tag="migration"
- php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider" --tag="config"
- composer require laravel/ui
- php artisan ui bootstrap
- php artisan ui bootstrap --auth
- npm install
- npm run dev
php artisan make:model Post --migration --controller --all
- php artisan migrate:fresh --seed
-composer install
-Rename .env.example file to .envinside your project root
-php artisan key:generate
-php artisan migrate:fresh --seed