shahednasser / laravel-rbac-tutorial

Code for Laravel RBAC Tutorial

Home Page:https://blog.shahednasser.com/implementing-rbac-in-laravel-tutorial/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Code for Laravel RBAC Tutorial

https://blog.shahednasser.com/implementing-rbac-in-laravel-tutorial/


Languages

Language:PHP 82.5%Language:Blade 16.9%Language:Shell 0.6%