PHPackages                             webino/zend-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. webino/zend-rbac

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

webino/zend-rbac
================

Zend Framework module that provides a layer of features for Zend\\Permissions\\Rbac

v2.6.3(9y ago)18.6kMITPHPPHP ~5.6 || ~7.0

Since Feb 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/webino/ZendRbac)[ Packagist](https://packagist.org/packages/webino/zend-rbac)[ Docs](http://www.github.com/ZF-Commons/zfc-rbac)[ RSS](/packages/webino-zend-rbac/feed)WikiDiscussions develop Synced 1w ago

READMEChangelogDependencies (18)Versions (40)Used By (0)

ZfcRbac
=======

[](#zfcrbac)

[![Develop Branch Build Status](https://camo.githubusercontent.com/9ad5a1eec1e3621f2b628b971f8fac56a8788a8e9dfa1fcebfa7931d8fa6b7d5/68747470733a2f2f7472617669732d63692e6f72672f5a462d436f6d6d6f6e732f7a66632d726261632e7376673f6272616e63683d646576656c6f70)](http://travis-ci.org/ZF-Commons/zfc-rbac)[![Coverage Status](https://camo.githubusercontent.com/9b2649474b4ae536036b96615d50e27af58285cf70d7fe686c5686eee1593261/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f5a462d436f6d6d6f6e732f7a66632d726261632f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/github/ZF-Commons/zfc-rbac?branch=develop)[![Latest Stable Version](https://camo.githubusercontent.com/f65779a4781cec634c90f5e94a05e0ec141b3bb3f8da80a657570cab1d5d161e/68747470733a2f2f706f7365722e707567782e6f72672f7a662d636f6d6d6f6e732f7a66632d726261632f762f737461626c65)](https://packagist.org/packages/zf-commons/zfc-rbac)[![Total Downloads](https://camo.githubusercontent.com/84d5a90fa0e122b03c1ab2c04a47d1315606bf61263890305cf23f661387b193/68747470733a2f2f706f7365722e707567782e6f72672f7a662d636f6d6d6f6e732f7a66632d726261632f646f776e6c6f616473)](https://packagist.org/packages/zf-commons/zfc-rbac)[![Latest Unstable Version](https://camo.githubusercontent.com/5f31c0e37c6624f727a6127c8036ce104abe455c9e85a231ab9b91bba608f0c4/68747470733a2f2f706f7365722e707567782e6f72672f7a662d636f6d6d6f6e732f7a66632d726261632f762f756e737461626c65)](https://packagist.org/packages/zf-commons/zfc-rbac)[![License](https://camo.githubusercontent.com/e237fed21a91c6146c45b17b0fb704b1b15a3cc95917e19b511daa19ca0c599c/68747470733a2f2f706f7365722e707567782e6f72672f7a662d636f6d6d6f6e732f7a66632d726261632f6c6963656e7365)](https://packagist.org/packages/zf-commons/zfc-rbac)[![Join the chat at https://gitter.im/ZFCommons/zfc-rbac](https://camo.githubusercontent.com/b8f56d95413077c8508ba2f07eb740805cf27b6e64af34a21d76e709001b3583/68747470733a2f2f6261646765732e6769747465722e696d2f5a46436f6d6d6f6e732f7a66632d726261632e737667)](https://gitter.im/ZFCommons/zfc-rbac?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

ZfcRbac is an access control library based on the RBAC permission model.

**Work In Progress**; *you are looking at the next version, for stable visit the master branch.*

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

[](#requirements)

- PHP 7.1 or higher

> If you are looking for older version of ZfcRbac, please refer to the 2.x branch. If you are using ZfcRbac 2.0, please upgrade to 3.0.

Optional
--------

[](#optional)

- [DoctrineModule](https://github.com/doctrine/DoctrineModule): if you want to use some built-in role and permission providers.
- [ZendDeveloperTools](https://github.com/zendframework/ZendDeveloperTools): 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 ZfcRbac.

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

[](#installation)

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

Install the module:

```
$ php composer.phar require zf-commons/zfc-rbac:^3.0
```

Enable the module by adding `ZfcRbac` key to your `application.config.php` file. Customize the module by copy-pasting the `zfc_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 ZfcRbac.

Support
-------

[](#support)

- File issues at .
- Ask questions in the [zf-common gitter](https://gitter.im/ZFCommons/zfc-rbac) chat.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 54.4% 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 ~54 days

Recently: every ~147 days

Total

37

Last Release

2902d 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.0-alpha.12018-02-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.0-alpha.1PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/382691?v=4)[Webino](/maintainers/Webino)[@webino](https://github.com/webino)

---

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 (128 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 (25 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 (5 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)")[![BrunoSpy](https://avatars.githubusercontent.com/u/954222?v=4)](https://github.com/BrunoSpy "BrunoSpy (3 commits)")[![Nirzol](https://avatars.githubusercontent.com/u/1618033?v=4)](https://github.com/Nirzol "Nirzol (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)")[![ojhaujjwal](https://avatars.githubusercontent.com/u/4995501?v=4)](https://github.com/ojhaujjwal "ojhaujjwal (3 commits)")[![bacinsky](https://avatars.githubusercontent.com/u/3078875?v=4)](https://github.com/bacinsky "bacinsky (2 commits)")[![belgattitude](https://avatars.githubusercontent.com/u/259798?v=4)](https://github.com/belgattitude "belgattitude (2 commits)")[![lasimon](https://avatars.githubusercontent.com/u/4467567?v=4)](https://github.com/lasimon "lasimon (2 commits)")

---

Tags

accesscontrolframeworklibraryltsrolev2zendpermissionsrbacmodulezf2

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/webino-zend-rbac/health.svg)

```
[![Health](https://phpackages.com/badges/webino-zend-rbac/health.svg)](https://phpackages.com/packages/webino-zend-rbac)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[socalnick/scn-social-auth

Uses the HybridAuth PHP library to Enable authentication via Google, Facebook, Twitter, Yahoo!, etc for the ZfcUser ZF2 module.

21974.2k3](/packages/socalnick-scn-social-auth)[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)[org_heigl/hybridauth

Lightweight Authentication Module for Zend-Framework 2 using the hybridauth-library

211.9k](/packages/org-heigl-hybridauth)

PHPackages © 2026

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