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

Installation

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

    'Zizaco\Entrust\EntrustServiceProvider'

in the providers array and

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

to the aliases array.

Advertisements