lm-commons / lmc-rbac
Laminas Module that provides a layer of features of Laminas\Permissions\Rbac
Installs: 9 550
Dependents: 1
Suggesters: 0
Security: 0
Stars: 7
Watchers: 4
Forks: 5
Open Issues: 5
Requires
- php: ^8.1 || ^8.2 || ^8.3
- doctrine/persistence: ^2.0 || ^3.0
- laminas/laminas-permissions-rbac: ^3.0
- laminas/laminas-servicemanager: ^3.3
- laminas/laminas-stdlib: ^3.1
Requires (Dev)
- doctrine/orm: ^2.13 || ^3.0
- laminas/laminas-coding-standard: ^2.5.0
- phpspec/prophecy: ^1.10
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^10.0 || ^11.0
- psalm/plugin-phpunit: ^0.19.0
- symfony/cache: ^4.0 || ^5.0 || ^6.0
- vimeo/psalm: ^5.25
- 2.1.x-dev
- 2.0.x-dev
- 2.0.0
- 2.0.0-alpha.1
- 1.4.x-dev
- v1.4.1
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.0
- dev-master / 1.1.x-dev
- v1.1.0
- v1.0.2
- v1.0.1
- 1.0.0
- dev-renovate/symfony-cache-7.x
- dev-renovate/doctrine-persistence-4.x
- dev-renovate/major-laminas
- dev-renovate/lock-file-maintenance
- dev-renovate/master-prism-react-renderer-2.x-lockfile
- dev-renovate/master-docusaurus-monorepo
- dev-renovate/prism-react-renderer-2.x-lockfile
This package is auto-updated.
Last update: 2024-11-04 03:34:16 UTC
README
Role-based access control module to provide additional features on top of Laminas\Permissions\Rbac
Requirements
- PHP 8.1 or higher
Optional
- DoctrineModule: if you want to use some built-in role and permission providers.
Upgrade
You can find an upgrade guide to quickly upgrade your application from major versions of LmcRbac.
Installation
LmcRbac 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
Enable 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.
Documentation
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.
Support
- File issues at https://github.com/LM-Commons/LmcRbac/issues.
- Ask questions in the LM-Commons Slack chat.