7.x
9.x
Laravel Role Permission Management System - Laravel A project which manage Role, Permissions and every actions of your Laravel application. A complete solution for Role based Access Control in Laravel.
Live Demo: http://laravel-role.herokuapp.com
Username - superadmin
password - 12345678
Note: Don't try to modify the Super Admin (Role & admin) data, just for Heroku deployment.
Requirements:
- Laravel
7.x
|9.7
- Spatie role permission package
3.1.3
Versions:
-
Laravel
7.x
& PHP -7.x
-
Laravel
9.7
& PHP -8.x
Project Setup
Git clone -
git clone https://github.com/ManiruzzamanAkash/laravel-role.git
Go to project folder -
cd laravel-role
Install Laravel Dependencies -
composer install
Create database called - laravel_role
Create .env
file by copying .env.example
file
Generate Artisan Key (If needed) -
php artisan key:generate
Migrate Database with seeder -
php artisan migrate --seed
Run Project -
php artisan serve
Since, there is any problem to seeder, Please import the .sql file directly - https://github.com/ManiruzzamanAkash/laravel-role/blob/master/database/sql/laravel_role.sql
So, You've got the project of Laravel Role & Permission Management on your http://localhost:8000
How it works
- Login using Super Admin Credential -
- Username -
superadmin
- Password -
12345678
- Username -
- Create Admin
- Create Role
- Assign Permission to Roles
- Assign Multiple Role to an admin
- Check by login with the new credentials.
- If you've not enough permission to do any task, you'll get a warning message.
Learn More & Discussion
Login & Dashboard Page
Role Pages
Role List Role Create Role Edit
Admin Pages
Other Pages
Custom Error Pages Dynamic Sidebar Manage
Wanna talk with me
Please mail me at - [email protected]
Support
If you like my work you may consider buying me a β / π
Contribution
Contribution is open. Create Pull-request and I'll add it to the project if it's good enough.