Simple-RBAC

Simple and leightweight “Role Based Access Control” library implemented in PHP. Simple-RBAC grants/denies permissions to users identified by their roles. Read more details about the theory behind here.

How does this library work?

I have tried to keep things simple. The main idea was to let the user implement an interface which provides the user and his permissions. The permissions are assigned to roles and roles are assigned to users.

The library provides a simple way to verify permissions without re-inventing the wheel.

The library is also available on GitHub and Packagist.