zf-commons/zfc-rbac
Zend Framework 2 Module that provides a layer of features of Zend\Permissions\Rbac
Maintainers
Requires
- php: ^7.1
- zendframework/zend-servicemanager: ^3.3
- zendframework/zend-stdlib: ^3.1
Requires (Dev)
- doctrine/common: ^2.4
- friendsofphp/php-cs-fixer: ^2.1
- malukenho/docheader: ^0.1
- phpunit/phpunit: ^6.0
- satooshi/php-coveralls: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 68691c41a41e1426a3f6fbe5e488acee5bdc88de
- Kyle Spraggs <theman.woop@spiffyjr.me>
- Jean-Marie Leroux <jmleroux.pro.woop@gmail.com>
- MichaΓ«l Gallego <mic.gallego.woop@gmail.com>
This package is auto-updated.
Last update: 2020-09-02 21:14:01 UTC
README
ZfcRbac has been deprecatad
Continue using
LmcRbacMvc (now at 3.0.0) for version 2.x of ZfcRbac
or
LmcRbac (now at 1.0.0) for version 3.x of 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
- PHP 5.6, PHP 7.0 or higher
- Rbac component: this is actually a prototype for the ZF3 Rbac component.
- Zend Framework 2.2 or higher
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
- File issues at https://github.com/ZF-Commons/zfc-rbac/issues.
- Ask questions in the zf-common gitter chat.
