PHPackages                             laminas-commons/lmc-rbac - 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

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

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

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

v1.0.1(5y ago)43891[1 issues](https://github.com/Laminas-Commons/LmcRbac/issues)MITPHPPHP ^7.2

Since Mar 16Pushed 5y ago3 watchersCompare

[ Source](https://github.com/Laminas-Commons/LmcRbac)[ Packagist](https://packagist.org/packages/laminas-commons/lmc-rbac)[ Docs](http://www.github.com/ZF-Commons/zfc-rbac)[ RSS](/packages/laminas-commons-lmc-rbac/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (8)Versions (6)Used By (0)

> **IMPORTANT!**
>
> This repository is abandoned. Please use the [LM-Commons/LmcRbac](https://www.github.com/LM-Commons/LmcRbac)

LmcRbac
=======

[](#lmcrbac)

[![Version](https://camo.githubusercontent.com/d9dab502a30ab59d8355d0815aaa0b39494f3017e74647d2e0de86e7b7c9bc0a/68747470733a2f2f706f7365722e707567782e6f72672f6c616d696e61732d636f6d6d6f6e732f6c6d632d726261632f76657273696f6e)](//packagist.org/packages/laminas-commons/lmc-rbac)[![Total Downloads](https://camo.githubusercontent.com/b58e4a3daad567d8ff86af48256493def07e5ff54c849d8335c13a06c6d1dbbf/68747470733a2f2f706f7365722e707567782e6f72672f6c616d696e61732d636f6d6d6f6e732f6c6d632d726261632f646f776e6c6f616473)](//packagist.org/packages/laminas-commons/lmc-rbac)[![License](https://camo.githubusercontent.com/1342684f9f08a9f7e937ef951920b95e781e2941c498cc5c73e3b2da9df2ce9b/68747470733a2f2f706f7365722e707567782e6f72672f6c616d696e61732d636f6d6d6f6e732f6c6d632d726261632f6c6963656e7365)](//packagist.org/packages/laminas-commons/lmc-rbac)[![Master Branch Build Status](https://camo.githubusercontent.com/87da20bb433ff65394e660a8464b05c9cfbb60694739692756909f23c05244a4/68747470733a2f2f7472617669732d63692e6f72672f4c616d696e61732d436f6d6d6f6e732f4c6d63526261632e7376673f6272616e63683d6d6173746572)](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/018ab05f390a0816c93088534be0a0964988a8d05d92651af5cee8a4ec63fe72/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4c616d696e61732d436f6d6d6f6e732f4c6d63526261632f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Laminas-Commons/LmcRbac?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/07884bd045aca4c0c48beb27b14fe31333c4a51887ac8b673665e28b9cf15824/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c616d696e61732d436f6d6d6f6e732f4c6d63526261632f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Laminas-Commons/LmcRbac/?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) v3.x. If you are looking for the Laminas version of zfc-rbac v2, please use [Laminas-Commons/LmcRbacMvc](https://github.com/Laminas-Commons/LmcRbacMvc).

**Work In Progress**

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

[](#requirements)

- PHP 7.2 or higher

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/zendframework/Laminas%5CDeveloperTools): if you want to have useful stats added to the Zend Developer toolbar.

Upgrade
-------

[](#upgrade)

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

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

[](#installation)

LmcRbac 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:^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
-------------

[](#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/community) chat.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 52.2% 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 ~218 days

Total

2

Last Release

1921d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/e42bb1eb4035d280d16210974fa60d0dbddeba8a061abec926e5e081d097231d?d=identicon)[bushbaby](/maintainers/bushbaby)

---

Top Contributors

[![bakura10](https://avatars.githubusercontent.com/u/1198915?v=4)](https://github.com/bakura10 "bakura10 (440 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (151 commits)")[![jmleroux](https://avatars.githubusercontent.com/u/1516770?v=4)](https://github.com/jmleroux "jmleroux (62 commits)")[![manuakasam](https://avatars.githubusercontent.com/u/1087280?v=4)](https://github.com/manuakasam "manuakasam (39 commits)")[![svycka](https://avatars.githubusercontent.com/u/1270782?v=4)](https://github.com/svycka "svycka (33 commits)")[![danizord](https://avatars.githubusercontent.com/u/1850941?v=4)](https://github.com/danizord "danizord (25 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)")[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (7 commits)")[![esserj](https://avatars.githubusercontent.com/u/1032205?v=4)](https://github.com/esserj "esserj (5 commits)")[![powturns](https://avatars.githubusercontent.com/u/658883?v=4)](https://github.com/powturns "powturns (4 commits)")[![webdevilopers](https://avatars.githubusercontent.com/u/3479626?v=4)](https://github.com/webdevilopers "webdevilopers (4 commits)")[![nitecon](https://avatars.githubusercontent.com/u/665977?v=4)](https://github.com/nitecon "nitecon (3 commits)")[![BrunoSpy](https://avatars.githubusercontent.com/u/954222?v=4)](https://github.com/BrunoSpy "BrunoSpy (3 commits)")[![visto9259](https://avatars.githubusercontent.com/u/7890483?v=4)](https://github.com/visto9259 "visto9259 (3 commits)")[![jhuet](https://avatars.githubusercontent.com/u/372409?v=4)](https://github.com/jhuet "jhuet (3 commits)")[![Nirzol](https://avatars.githubusercontent.com/u/1618033?v=4)](https://github.com/Nirzol "Nirzol (3 commits)")[![ojhaujjwal](https://avatars.githubusercontent.com/u/4995501?v=4)](https://github.com/ojhaujjwal "ojhaujjwal (3 commits)")[![mparulski](https://avatars.githubusercontent.com/u/9919033?v=4)](https://github.com/mparulski "mparulski (2 commits)")[![belgattitude](https://avatars.githubusercontent.com/u/259798?v=4)](https://github.com/belgattitude "belgattitude (2 commits)")

---

Tags

laminaspermissionsrbacmodule

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel

2.3k5.4M43](/packages/santigarcor-laratrust)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[lm-commons/lmc-rbac-mvc

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

12401.0k7](/packages/lm-commons-lmc-rbac-mvc)[laminas/laminas-permissions-rbac

Provides a role-based access control management

353.4M29](/packages/laminas-laminas-permissions-rbac)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6712.1k2](/packages/hasinhayder-tyro)

PHPackages © 2026

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