Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle によって変換されたページ (->オリジナル) /