Skip to content

shahednasser/laravel-rbac-tutorial

Repository files navigation

Code for Laravel RBAC Tutorial

This repository holds the code for the Laravel RBAC tutorial.

Installation

After cloning the repository, install the dependencies with Composer:

composer install

Change Database Configuration

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

Migrate database:

php artisan migrate

Start the Server

Start the server with this command:

php artisan serve