Role-based access control module to provide additional features on top of Laminas\Permissions\Rbac
- PHP 8.2 or higher
- DoctrineModule: if you want to use some built-in role and permission providers.
You can find an upgrade guide to quickly upgrade your application from major versions of LmcRbac.
LmcRbac only officially supports installation through Composer. For Composer documentation, please refer to getcomposer.org.
Install the module:
$ composer require lm-commons/lmc-rbacEnable the module by adding LmcRbac key to your application.config.php file.
Customize the module by copy-pasting the config.global.php file to your
config/autoload folder.
The official documentation is available here folder.
You can also find some Doctrine entities in the /data folder that will help you to more quickly take advantage of LmcRbac.
- File issues at on github.
- Ask questions on the LM-Commons Discord.