Add Role-based Permissions in Laravel

Entrust is a succinct and flexible way to add Role-based Permissions to Laravel 5.1


In order to install Laravel 5 Entrust, just add

"zizaco/entrust": "dev-laravel-5"

to your composer.json. Then run composer install or composer update.

Then in your config/app.php add


in the providers array and

    'Entrust' => 'Zizaco\Entrust\EntrustFacade'

to the aliases array.

prevChapter 1 of 11


Pin It on Pinterest