Skip to content
Role-based access control module to provide additional features on top of Zend\Permissions\Rbac
PHP HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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
CHANGELOG.md Update changelog link Dec 14, 2013
LICENSE Create LICENSE Dec 6, 2013
Module.php Added module to root for ZF2 compliance. Nov 13, 2012
README.md update link to new chat Oct 28, 2016
UPGRADE.md Prepare to tag May 4, 2014
composer.json Allow new zend-config:^3.1 Apr 24, 2017
phpunit.xml.dist Refactor Nov 2, 2013

README.md

ZfcRbac

Master Branch Build Status Coverage Status Join the chat at https://gitter.im/ZFCommons/zfc-rbac 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.

Requirements

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.

Optional

  • 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.

Upgrade

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

Installation

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

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 zfc_rbac.global.php.dist file to your config/autoload folder.

Documentation

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.

Support

You can’t perform that action at this time.