isaackearl / laravel-acl

Light-weight role-based permissions system for Laravel 5 built in Auth system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Role based permissions for Laravel 5.

Laravel Source Build Status License Total Downloads

Laravel ACL adds role based permissions to built in Auth System of Laravel 5. Acl middleware protects routes and even crud controller methods.

Documentation

Follow along the Wiki to find out more.

Recent Changes

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 having admin role.

March 7, 2015.

  • is() and can() methods now support comma for AND and pipe as OR 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...

Contribution guidelines

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.

About

Light-weight role-based permissions system for Laravel 5 built in Auth system.

License:MIT License


Languages

Language:PHP 100.0%