webino / zend-rbac
Zend Framework module that provides a layer of features for Zend\Permissions\Rbac
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
- dev-develop / 3.0.x-dev
- 3.0.0-alpha.1
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.6
- v2.5.5
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- dev-master / 2.4.x-dev
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.0
- 2.0.0-beta1
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- 1.0.0-beta2
- 1.0.0-beta1
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
- dev-support/0.2
This package is auto-updated.
Last update: 2024-11-25 12:08:34 UTC
README
ZfcRbac is an access control library based on the RBAC permission model.
Work In Progress; you are looking at the next version, for stable visit the master branch.
Requirements
- PHP 7.1 or higher
If you are looking for older version of ZfcRbac, please refer to the 2.x branch. If you are using ZfcRbac 2.0, please upgrade to 3.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:^3.0
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.