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

ActiveLibrary

dnetix/rbac
===========

Role Based Access Control Module

0.1.0(10y ago)1105MITPHPPHP &gt;=5.6

Since May 1Pushed 9y ago2 watchersCompare

[ Source](https://github.com/dnetix/rbac)[ Packagist](https://packagist.org/packages/dnetix/rbac)[ RSS](/packages/dnetix-rbac/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

Role Based Access Control
=========================

[](#role-based-access-control)

[![TravisCI for dnetix/rbac](https://camo.githubusercontent.com/4f051453d70dcbae7104de1d43e0a86f350cb3f60261d811e3bd5bda1b8d505c/68747470733a2f2f7472617669732d63692e6f72672f646e657469782f726261632e737667)](https://camo.githubusercontent.com/4f051453d70dcbae7104de1d43e0a86f350cb3f60261d811e3bd5bda1b8d505c/68747470733a2f2f7472617669732d63692e6f72672f646e657469782f726261632e737667)

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

[](#installation)

With composer

```
composer require dnetix/rbac

```

Add the service provided to the app.php config file

```
\Dnetix\Rbac\RbacServiceProvider::class,

```

Publish the configurations and migrations for this package

```
php artisan vendor:publish

```

Modify the rbac.php config file with your own permissions

Make sure that the Models or Classes that will be using permissions and roles implements from the interface

```
Illuminate\Contracts\Auth\Authenticatable;

```

### TODO

[](#todo)

- Revoke permissions to specific authenticatables (Users)
- Cache the results provided for the repository, they change rarely

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3666d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/03d2682a1a3738e26a24c2233b17f57a902d930b534dab3898a7d43616410580?d=identicon)[dnetix](/maintainers/dnetix)

---

Top Contributors

[![dnetix](https://avatars.githubusercontent.com/u/4644865?v=4)](https://github.com/dnetix "dnetix (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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