Skip to content
Role-based access control module to provide additional features on top of Zend\Permissions\Rbac
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
config some last cleanups Jul 15, 2016
data Add cascade persist Apr 18, 2014
docs set %20 for space in Links Mar 15, 2018
src/ZfcRbac [373] Cannot get a name and parameters for RoleProviderPluginManager #… May 4, 2017
tests [373] Cannot get a name and parameters for RoleProviderPluginManager … May 4, 2017
view Various fixes to the ZDT collector Dec 14, 2013
.gitignore gitignore : .idea (PHPStorm) and composer.phar Mar 14, 2014
.travis.yml Update changelog link Dec 14, 2013
LICENSE Create LICENSE Dec 6, 2013
Module.php Added module to root for ZF2 compliance. Nov 13, 2012 update link to new chat Oct 28, 2016 Prepare to tag May 4, 2014
composer.json Allow new zend-config:^3.1 Apr 24, 2017
phpunit.xml.dist Refactor Nov 2, 2013


Master Branch Build Status Coverage Status Join the chat at Latest Stable Version Latest Unstable Version Scrutinizer Quality Score Total Downloads

ZfcRbac is an access control module for Zend Framework 2, based on the RBAC permission model.


If you are looking for older version of ZfcRbac, please refer to the 0.2.x branch. If you are using ZfcRbac 1.0, please upgrade to 2.0.


  • DoctrineModule: if you want to use some built-in role and permission providers.
  • ZendDeveloperTools: if you want to have useful stats added to the Zend Developer toolbar.


You can find an upgrade guide to quickly upgrade your application from major versions of ZfcRbac.


ZfcRbac only officially supports installation through Composer. For Composer documentation, please refer to

Install the module:

$ php composer.phar require zf-commons/zfc-rbac:~2.4

Enable the module by adding ZfcRbac key to your application.config.php file. Customize the module by copy-pasting the file to your config/autoload folder.


The official documentation is available in the /docs folder.

You can also find some Doctrine entities in the /data folder that will help you to more quickly take advantage of ZfcRbac.


You can’t perform that action at this time.