Skip to content

Laravel Role and Permission Management With Beautiful Admin UI to starting a fresh project with basic role, permission management for Laravel 11.x

License

Notifications You must be signed in to change notification settings

ManiruzzamanAkash/laravel-role

Repository files navigation

Laravel Role Permission Management System - Laravel 11.x

A project which manage Role, Permissions and every actions of your Laravel application. A complete solution for Role based Access Control in Laravel.

Demo: http://localhost:8000

Username - superadmin
password - 12345678

Requirements:

  • Laravel 7.x | 9.7 | 11.x
  • Spatie role permission package ^6.4

Versions:

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

  1. Login using Super Admin Credential -
    1. Username - superadmin
    2. Password - 12345678
  2. Create Admin
  3. Create Role
  4. Assign Permission to Roles
  5. Assign Multiple Role to an admin
  6. Check by login with the new credentials.
  7. If you've not enough permission to do any task, you'll get a warning message.

Learn More & Discussion

https://devsenv.com/tutorials/laravel-role-permission-management-system-full-example-with-source-code

Login & Dashboard Page

alt text alt text

Role Pages

Role List alt text Role Create alt text Role Edit alt text

Admin Pages

Admin List alt text Admin Create alt text

Other Pages

Custom Error Pages alt text Dynamic Sidebar Manage alt text

Wanna talk with me

Please mail me at - manirujjamanakash@gmail.com

Support

If you like my work you may consider buying me a ☕ / 🍕

ManiruzzamanAkash

Contribution

Contribution is open. Create Pull-request and I'll add it to the project if it's good enough.

About

Laravel Role and Permission Management With Beautiful Admin UI to starting a fresh project with basic role, permission management for Laravel 11.x

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published