This repository holds the code for the Laravel RBAC tutorial.
After cloning the repository, install the dependencies with Composer:
composer installChange the database configuration in .env with your configurations:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=Migrate database:
php artisan migrateStart the server with this command:
php artisan serve