lm-commons/lmc-rbac-mvc
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.
lm-commons/lmc-rbac-mvc 适用场景与选型建议
lm-commons/lmc-rbac-mvc 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 432.59k 次下载、GitHub Stars 达 12, 最近一次更新时间为 2020 年 10 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「module」 「permissions」 「rbac」 「laminas」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 lm-commons/lmc-rbac-mvc 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 lm-commons/lmc-rbac-mvc 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 lm-commons/lmc-rbac-mvc 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel Multiauth package
User permissions for MoonShine
Access management from UI
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
Yii2 module to manage website content. Kind of a CMS...
Library for advanced filesystem functions
统计信息
- 总下载量: 432.59k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 25
- 依赖项目数: 5
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-06