Skip to content

Laravel 6 adminpanel starter boilerplate project with roles-permissions based on Bouncer package.

Notifications You must be signed in to change notification settings

LaravelDaily/laravel-roles-permissions-bouncer

Repository files navigation

Laravel Roles Permissions Admin - Bouncer version

Update October 2019: this project was created in 2017 as Laravel 5.4 version, and now we upgraded it to Laravel 6 version, also changed the design theme from AdminLTE to CoreUI


This is a Laravel 6 adminpanel starter project with roles-permissions management based on Joseph Silber's Bouncer package, CoreUI theme and Datatables.net.

We've also created almost identical project based on Spatie's Laravel-permission package: see here

Part of this project was generated automatically by QuickAdminPanel system.

Laravel roles permissions screenshot

Laravel roles permissions screenshot 02

Usage

This is not a package - it's a full Laravel project that you should use as a starter boilerplate, and then add your own custom functionality.

  • Clone the repository with git clone
  • Copy .env.example file to .env and edit database credentials there
  • Run composer install
  • Run php artisan key:generate
  • Run php artisan migrate --seed (it has some seeded data - see below)
  • That's it: launch the main URL and login with default credentials [email protected] - password

This boilerplate has one role (administrator), one ability (users_manage) and one administrator user.

With that user you can create more roles/abilities/users, and then use them in your code, by using functionality like Gate or @can, as in default Laravel, or with help of Bouncer's package methods.

License

The MIT license.

Notice

We are not responsible for any functionality or bugs in CoreUI, Bouncer or Datatables packages or their future versions, if you find bugs there - please contact vendors directly.


More from our LaravelDaily Team

About

Laravel 6 adminpanel starter boilerplate project with roles-permissions based on Bouncer package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published