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.

About the author

Deven Rathore

I'm Deven Rathore, a multidisciplinary & self-taught designer with 3 years of experience. I'm passionate about technology, music, coffee, traveling and everything visually stimulating. Constantly learning and experiencing new things.

Pin It on Pinterest