PHPackages                             laminas-commons/lmc-rbac-mvc - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. laminas-commons/lmc-rbac-mvc

Abandoned → [lm-commons/lmc-rbac-mvc](/?search=lm-commons%2Flmc-rbac-mvc)ArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

laminas-commons/lmc-rbac-mvc
============================

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

v3.0.2(5y ago)222.9k2[4 issues](https://github.com/Laminas-Commons/LmcRbacMvc/issues)MITPHPPHP ~7.2

Since Feb 5Pushed 5y ago2 watchersCompare

[ Source](https://github.com/Laminas-Commons/LmcRbacMvc)[ Packagist](https://packagist.org/packages/laminas-commons/lmc-rbac-mvc)[ Docs](http://www.github.com/Laminas-Commons/LmcRbacMvc)[ RSS](/packages/laminas-commons-lmc-rbac-mvc/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (17)Versions (39)Used By (0)

> **Important**: This respository is abandoned.
>
> The library was moved to [LM-Commons/LmcRbacMvc](https://github.com/LM-Commons/LmcRbacMvc)

LmcRbacMvc
==========

[](#lmcrbacmvc)

[![Version](https://camo.githubusercontent.com/8e2e1bd7241ee559601e7914395aa3ec2bfee56fc701326e9a68c3cf38f0cabd/68747470733a2f2f706f7365722e707567782e6f72672f6c616d696e61732d636f6d6d6f6e732f6c6d632d726261632d6d76632f76657273696f6e)](//packagist.org/packages/laminas-commons/lmc-rbac-mvc)[![Total Downloads](https://camo.githubusercontent.com/01b0fac37468ee7f19c4f5ee082cf03b5628a75f9d4e15f66d258af51ba9fffa/68747470733a2f2f706f7365722e707567782e6f72672f6c616d696e61732d636f6d6d6f6e732f6c6d632d726261632d6d76632f646f776e6c6f616473)](//packagist.org/packages/laminas-commons/lmc-rbac-mvc)[![License](https://camo.githubusercontent.com/de3b21497300ba48466e93127b2df0e958af320ccc8493f97910c2264d14bb7d/68747470733a2f2f706f7365722e707567782e6f72672f6c616d696e61732d636f6d6d6f6e732f6c6d632d726261632d6d76632f6c6963656e7365)](//packagist.org/packages/laminas-commons/lmc-rbac-mvc)[![Master Branch Build Status](https://camo.githubusercontent.com/271eb384362e3bd79cee6eca30e8ee144814e906f6e4f7dbe448da49674d8e90/68747470733a2f2f7472617669732d63692e6f72672f4c616d696e61732d436f6d6d6f6e732f4c6d63526261634d76632e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/Laminas-Commons/LmcRbac)[![Gitter](https://camo.githubusercontent.com/dec40076242e9fa28932f1d7bc2dcf6de60623c9b564d26d2fde93879b67ffb9/68747470733a2f2f6261646765732e6769747465722e696d2f4c616d696e6173436f6d6d6f6e732f636f6d6d756e6974792e737667)](https://gitter.im/LaminasCommons/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)[![Coverage Status](https://camo.githubusercontent.com/bb27d0046fe7e597ee2b98b63f1e8a68b90a60704b449786d956ceb1f0cca53b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4c616d696e61732d436f6d6d6f6e732f4c6d63526261634d76632f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Laminas-Commons/LmcRbacMvc?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/05a4c0b47aa758a51e53eb7c4cbe9a95740c05d1effd5c293ca55bb939acd648/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c616d696e61732d436f6d6d6f6e732f4c6d63526261634d76632f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Laminas-Commons/LmcRbacMvc/?branch=master)

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

Based on [ZF-Commons/zfc-rbac](https://github.com/ZF-Commons/zfc-rbac) v2.6.x. If you are looking for the Laminas version of zfc-rbac v3, please use [Laminas-Commons/LmcRbac](https://github.com/Laminas-Commons/LmcRbac).

### Important Notes:

[](#important-notes)

This version has breaking changes with respect to ZfcRbac v2. See the [Upgrade](#upgrade) section for details.

Requirements
------------

[](#requirements)

- PHP 7.2 or higher
- [Zf-fr/Rbac component v1](https://github.com/zf-fr/rbac): this is actually a prototype for the ZF3 Rbac component.
- [Laminas Components 2.x | 3.x or higher](http://www.github.com/laminas)

>

Optional
--------

[](#optional)

- [DoctrineModule](https://github.com/doctrine/DoctrineModule): if you want to use some built-in role and permission providers.
- [Laminas\\DeveloperTools](https://github.com/laminas/Laminas%5CDeveloperTools): if you want to have useful stats added to the Laminas Developer toolbar.

Upgrade
-------

[](#upgrade)

LmcRbac introduces breaking changes from zfcrbac v2:

- The namespace has been changed from `ZfcRbac` to `LmcRbacMvc`.
- The key `zfc-rbac` in autoload and module config files has been replaced by the `lmc-rbac` key.

You can find an [upgrade guide](UPGRADE.md) to quickly upgrade your application from major versions of ZfcRbac.

Installation
------------

[](#installation)

LmcRbacMvc only officially supports installation through Composer. For Composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

Install the module:

```
$ php composer.phar require laminas-commons/lmc-rbac-mvc:^3.0
```

This will install a Laminas MVC equivalent of zfc-rbac 2.6.3.

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
-------------

[](#documentation)

The official documentation is available in the [/docs](/docs) folder.

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

Support
-------

[](#support)

- File issues at .
- Ask questions in the [LaminasCommons gitter](https://gitter.im/LaminasCommons) chat.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 57.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~77 days

Recently: every ~360 days

Total

37

Last Release

2089d ago

Major Versions

0.2.2 → 1.0.0-beta12013-11-29

v1.0.3 → 2.0.0-beta12014-01-13

0.2.3 → 2.2.02014-04-04

v2.6.3 → 3.0.02020-06-26

PHP version history (4 changes)0.1.0PHP &gt;=5.3.3

1.0.0-beta1PHP &gt;=5.4

v2.6.0PHP ~5.6 || ~7.0

3.0.0PHP ~7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/39ff13f678d45f5296af1e1a2a5807db794bfd9835b64302c9bcc43156854a03?d=identicon)[visto9259](/maintainers/visto9259)

---

Top Contributors

[![bakura10](https://avatars.githubusercontent.com/u/1198915?v=4)](https://github.com/bakura10 "bakura10 (424 commits)")[![jmleroux](https://avatars.githubusercontent.com/u/1516770?v=4)](https://github.com/jmleroux "jmleroux (62 commits)")[![visto9259](https://avatars.githubusercontent.com/u/7890483?v=4)](https://github.com/visto9259 "visto9259 (48 commits)")[![manuakasam](https://avatars.githubusercontent.com/u/1087280?v=4)](https://github.com/manuakasam "manuakasam (40 commits)")[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (36 commits)")[![danizord](https://avatars.githubusercontent.com/u/1850941?v=4)](https://github.com/danizord "danizord (24 commits)")[![Orkin](https://avatars.githubusercontent.com/u/1061903?v=4)](https://github.com/Orkin "Orkin (21 commits)")[![davidwindell](https://avatars.githubusercontent.com/u/1720090?v=4)](https://github.com/davidwindell "davidwindell (16 commits)")[![DennisDobslaf](https://avatars.githubusercontent.com/u/2852007?v=4)](https://github.com/DennisDobslaf "DennisDobslaf (7 commits)")[![svycka](https://avatars.githubusercontent.com/u/1270782?v=4)](https://github.com/svycka "svycka (6 commits)")[![esserj](https://avatars.githubusercontent.com/u/1032205?v=4)](https://github.com/esserj "esserj (5 commits)")[![webdevilopers](https://avatars.githubusercontent.com/u/3479626?v=4)](https://github.com/webdevilopers "webdevilopers (4 commits)")[![divix1988](https://avatars.githubusercontent.com/u/6444400?v=4)](https://github.com/divix1988 "divix1988 (4 commits)")[![powturns](https://avatars.githubusercontent.com/u/658883?v=4)](https://github.com/powturns "powturns (4 commits)")[![ojhaujjwal](https://avatars.githubusercontent.com/u/4995501?v=4)](https://github.com/ojhaujjwal "ojhaujjwal (3 commits)")[![jhuet](https://avatars.githubusercontent.com/u/372409?v=4)](https://github.com/jhuet "jhuet (3 commits)")[![nitecon](https://avatars.githubusercontent.com/u/665977?v=4)](https://github.com/nitecon "nitecon (3 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (3 commits)")[![BrunoSpy](https://avatars.githubusercontent.com/u/954222?v=4)](https://github.com/BrunoSpy "BrunoSpy (3 commits)")[![ZeinEddin](https://avatars.githubusercontent.com/u/1671680?v=4)](https://github.com/ZeinEddin "ZeinEddin (2 commits)")

---

Tags

laminas-mvcrbaczfcrbaclaminaspermissionsrbacmodule

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/laminas-commons-lmc-rbac-mvc/health.svg)

```
[![Health](https://phpackages.com/badges/laminas-commons-lmc-rbac-mvc/health.svg)](https://phpackages.com/packages/laminas-commons-lmc-rbac-mvc)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k98.0M1.3k](/packages/spatie-laravel-permission)[lm-commons/lmc-rbac-mvc

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

12425.4k10](/packages/lm-commons-lmc-rbac-mvc)[magento/community-edition

Magento 2 (Open Source)

12.1k53.0k12](/packages/magento-community-edition)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[kokspflanze/bjy-authorize

Laminas\\Acl based firewall system for Mezzio dispatch protection

20194.8k4](/packages/kokspflanze-bjy-authorize)[saeven/zf3-circlical-user

Complete user entity, rights, and access module for Laminas

3718.9k](/packages/saeven-zf3-circlical-user)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
