Tutorials , code & Inspiration

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


Get the best in web dev

Join dunebook.com and recieve best in web dev , once a week FREE

An email has been Sent to your Inbox ! Please Confirm your Subscription :)

Pin It on Pinterest