This package is abandoned and no longer maintained. The author suggests using the lm-commons/lmc-rbac package instead.

Laminas Module that provides a layer of features of Laminas\Permissions\Rbac

v1.0.1 2021-02-06 15:33 UTC

This package is auto-updated.

Last update: 2021-02-06 15:37:55 UTC


README

IMPORTANT!

This repository is abandoned. Please use the LM-Commons/LmcRbac

LmcRbac

Version Total Downloads License Master Branch Build Status Gitter Coverage Status Scrutinizer Code Quality

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

Based on ZF-Commons/zfc-rbac v3.x. If you are looking for the Laminas version of zfc-rbac v2, please use Laminas-Commons/LmcRbacMvc.

Work In Progress

Requirements

  • PHP 7.2 or higher

Optional

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 laminas-commons/lmc-rbac:^1.0

Enable the module by adding LmcRbac key to your application.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 in the /docs folder.

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

Support