https://github.com/shahednasser/laravel-rbac-tutorial
Code for Laravel RBAC Tutorial
https://github.com/shahednasser/laravel-rbac-tutorial
laravel laravel-tutorial php rbac rbac-management tutorial
Last synced: 12 days ago
JSON representation
Code for Laravel RBAC Tutorial
- Host: GitHub
- URL: https://github.com/shahednasser/laravel-rbac-tutorial
- Owner: shahednasser
- Created: 2021-11-02T12:52:12.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T12:52:29.000Z (about 3 years ago)
- Last Synced: 2024-10-11T14:53:52.577Z (over 1 year ago)
- Topics: laravel, laravel-tutorial, php, rbac, rbac-management, tutorial
- Language: PHP
- Homepage: https://blog.shahednasser.com/implementing-rbac-in-laravel-tutorial/
- Size: 1.69 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Code for Laravel RBAC Tutorial
This repository holds the code for the [Laravel RBAC tutorial](https://blog.shahednasser.com/implementing-rbac-in-laravel-tutorial/).
## Installation
After cloning the repository, install the dependencies with Composer:
```bash
composer install
```
## Change Database Configuration
Change the database configuration in `.env` with your configurations:
```bash
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
```
## Migrate Database
Migrate database:
```bash
php artisan migrate
```
## Start the Server
Start the server with this command:
```bash
php artisan serve
```