%PDF- %PDF-
Direktori : /var/www/html/bbw/farmaci/kritik-portale/vendor/zf-commons/zfc-rbac/ |
Current File : /var/www/html/bbw/farmaci/kritik-portale/vendor/zf-commons/zfc-rbac/README.md |
# ZfcRbac [](http://travis-ci.org/ZF-Commons/zfc-rbac) [](https://coveralls.io/r/ZF-Commons/zfc-rbac) [](https://packagist.org/packages/zf-commons/zfc-rbac) [](https://packagist.org/packages/zf-commons/zfc-rbac) [](https://scrutinizer-ci.com/g/ZF-Commons/zfc-rbac/) [](https://packagist.org/packages/zf-commons/zfc-rbac) ZfcRbac is an access control module for Zend Framework 2, based on the RBAC permission model. ## Requirements - PHP 5.4 or higher - [Rbac component](https://github.com/zf-fr/rbac): this is actually a prototype for the ZF3 Rbac component. - [Zend Framework 2.2 or higher](http://www.github.com/zendframework/zf2) > 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](https://github.com/doctrine/DoctrineModule): if you want to use some built-in role and permission providers. - [ZendDeveloperTools](https://github.com/zendframework/ZendDeveloperTools): if you want to have useful stats added to the Zend Developer toolbar. ## Upgrade You can find an [upgrade guide](UPGRADE.md) 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](http://getcomposer.org/). Install the module: ```sh $ 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](/docs) folder. You can also find some Doctrine entities in the [/data](/data) folder that will help you to more quickly take advantage of ZfcRbac.