Laravel ACL adds role based permissions to built in Auth System of Laravel 5. Acl middleware protects routes and even crud controller methods.
Follow along the Wiki to find out more.
March 28, 2015 (new)
- Added Role Scope to get all users having a specific role. e.g
User::role('admin')->get();
will list all users havingadmin
role.
March 7, 2015.
is()
andcan()
methods now support comma forAND
and pipe asOR
operator. Or pass an operator as a second param. more here...- Permissions inheritance
- You can bind multiple permissions together so they inherit ones permission. more here...
Support follows PSR-1 and PSR-4 PHP coding standards, and semantic versioning.
Please report any issue you find in the issues page. Pull requests are welcome.