This repository holds the code for the Laravel RBAC tutorial.
After cloning the repository, install the dependencies with Composer:
composer install
Change 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 migrate
Start the server with this command:
php artisan serve