Laravel 5.4 adminpanel starter boilerplate project with roles-permissions based on Bouncer package.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 8227df1 May 30, 2018
Permalink
Failed to load latest commit information.
app Update UsersController.php Oct 27, 2017
bootstrap First commit Jul 13, 2017
config First commit Jul 13, 2017
database First commit Jul 13, 2017
public First commit Jul 13, 2017
resources use eagerly loaded roles collection Oct 20, 2017
routes First commit Jul 13, 2017
storage First commit Jul 13, 2017
tests First commit Jul 13, 2017
.env.example First commit Jul 13, 2017
.gitattributes First commit Jul 13, 2017
.gitignore First commit Jul 13, 2017
artisan First commit Jul 13, 2017
composer.json First commit Jul 13, 2017
composer.lock First commit Jul 13, 2017
package.json First commit Jul 13, 2017
phpunit.xml First commit Jul 13, 2017
readme.md Update readme.md May 30, 2018
server.php First commit Jul 13, 2017
webpack.mix.js First commit Jul 13, 2017

readme.md

Laravel Roles Permissions Admin - Bouncer version

This is a Laravel 5.4 adminpanel starter project with roles-permissions management based on Joseph Silber's Bouncer package, AdminLTE 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.

Larancer screenshot

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 admin@admin.com - 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 AdminLTE, Bouncer or Datatables packages or their future versions, if you find bugs there - please contact vendors directly.


More from our LaravelDaily Team