lm-commons/lmc-rbac-mvc
最新稳定版本:4.2.0
Composer 安装命令:
composer require lm-commons/lmc-rbac-mvc
包简介
Laminas Framework MVC Module that provides a layer of features of Laminas\Permissions\Rbac
README 文档
README
Role-based access control module to provide additional features on top of Zend\Permissions\Rbac
Requirements
- PHP 8.1 or higher
- Laminas Components 3.x or higher
Optional
- DoctrineModule: if you want to use some built-in role and permission providers.
- Laminas\DeveloperTools: if you want to have useful stats added to the Laminas Developer toolbar.
Upgrade
LmcRbacMvc introduces breaking changes from zfcrbac v2:
- The namespace has been changed from
ZfcRbactoLmcRbacMvc. - The key
zfc_rbacin autoload and module config files has been replaced by thelmc_rbackey.
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
- File issues at https://github.com/LM-Commons/LmcRbacMvc/issues.
- Ask questions in the LM-Commons Discord chat.
统计信息
- 总下载量: 376.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 1
- 依赖项目数: 5
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-06