2 – authority-controller

AuthorityController is an PHP authorization library for Laravel 5.0 & 5.1 which restricts what resources a given user is allowed to access.

All permissions are defined in a single location:

config/authority-controller.php

and not duplicated across controllers, routes, views, and database queries.

Links

GitHubPackagist