LM-Commons / LmcRbacMvc

Role-based access control Laminas MVC module to provide additional features on top of Laminas\Permissions\Rbac
https://lm-commons.github.io/LmcRbacMvc/
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link
laminas-mvc php rbac rbac-authorization role-based-access-control zfc-rbac

LmcRbacMvc

Build Version Total Downloads License Coverage Status Dynamic JSON Badge Static Badge

Role-based access control module to provide additional features on top of Zend\Permissions\Rbac

Requirements

Optional

Upgrade

LmcRbacMvc introduces breaking changes from zfcrbac v2:

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

Installation

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

Install the module:

$ php composer.phar require lm-commons/lmc-rbac-mvc

Enable the module by adding LmcRbacMvc key to your application.config.php or modules.config.php file. Customize the module by copy-pasting the lmc_rbac.global.php.dist file to your config/autoload folder.

Documentation

The official documentation is available here.

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

Support