PHPackages                             tomkyle/rbac - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. tomkyle/rbac

ActiveLibrary[Database &amp; ORM](/categories/database)

tomkyle/rbac
============

Role-based Access Control: Roles, Permissions and ACL

1.0.7(12y ago)28011MITPHPPHP &gt;=5.4.0

Since Mar 5Pushed 12y ago1 watchersCompare

[ Source](https://github.com/tomkyle/RBAC)[ Packagist](https://packagist.org/packages/tomkyle/rbac)[ RSS](/packages/tomkyle-rbac/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (8)Used By (1)

\#tomkyle/rbac

Role-based access control solution, extracted from my legacy codebase. It provides a **permissions** and **roles** system as well as a simple **ACL implementation.**

[![Scrutinizer Quality Score](https://camo.githubusercontent.com/d966eb84d347de7ed31c1a949ec32a08913570e1c3bfc8ea2481a926491798fa/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f6d6b796c652f524241432f6261646765732f7175616c6974792d73636f72652e706e673f733d35386237353662323237353736343239616537633233376161633236613434343061333035303034)](https://scrutinizer-ci.com/g/tomkyle/RBAC/)

\##Core concepts

\###Roles

A client may be associated with certain roles, e.g. *Authors* or *Admins*. These are stored in a `RolesStorage` object that contains role IDs.

```
