PHPackages                             flexphp/grbac - 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. flexphp/grbac

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

flexphp/grbac
=============

GRBAC PHP for FlexPHP library

00[1 issues](https://github.com/flexphp/flex-grbac/issues)[1 PRs](https://github.com/flexphp/flex-grbac/pulls)PHPCI failing

Since Mar 28Pushed 3mo agoCompare

[ Source](https://github.com/flexphp/flex-grbac)[ Packagist](https://packagist.org/packages/flexphp/grbac)[ RSS](/packages/flexphp-grbac/feed)WikiDiscussions develop Synced 6d ago

READMEChangelogDependenciesVersions (3)Used By (0)

GRBAC - Granular Role Base Access Permission
============================================

[](#grbac---granular-role-base-access-permission)

[![Latest Stable Version](https://camo.githubusercontent.com/6197ace4ad20f62c29866374e57dc0d7de1ca4f75140254cbfdecc9d6eb8f6d3/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f67726261632f762f737461626c65)](https://packagist.org/packages/flexphp/grbac)[![Total Downloads](https://camo.githubusercontent.com/21218505cea9e33690f8e296b0ccfaf9bc5bd68ebc02d313d94e14ca156cac02/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f67726261632f646f776e6c6f616473)](https://packagist.org/packages/flexphp/grbac)[![Latest Unstable Version](https://camo.githubusercontent.com/fb227382dadb743040a30403af9f6fa265ba5f18baba987dae8ed9eb0de8d2c3/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f67726261632f762f756e737461626c65)](https://packagist.org/packages/flexphp/grbac)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8a33e50db2d22a35a49a63668b4034acc54c22520206152a17a90e669cb3fb2f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f666c65787068702f666c65782d67726261632f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/flexphp/grbac)[![Code Coverage](https://camo.githubusercontent.com/d0e1043c38a2239119702736dca429676207faee2431125af0762ca37569f58e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f666c65787068702f666c65782d67726261632f6261646765732f636f7665726167652e706e67)](https://scrutinizer-ci.com/g/flexphp/flex-grbac)[![License](https://camo.githubusercontent.com/e8fcaf7a36f33af22d70889fa1dbedd491e4f1f9efd5c20433f28516126bd6b0/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f67726261632f6c6963656e7365)](https://packagist.org/packages/flexphp/grbac)[![composer.lock](https://camo.githubusercontent.com/d2aa9b96a12e16e4203335a983c9c257962f819489ca38529b7aa3fc717c8a22/68747470733a2f2f706f7365722e707567782e6f72672f666c65787068702f67726261632f636f6d706f7365726c6f636b)](https://packagist.org/packages/flexphp/grbac)

One Role, Any Framework

Change between frameworks when you need. Keep It Simple, SOLID and DRY with FlexPHP.

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

[](#installation)

Install the package with Composer:

```
composer require flexphp/grbac
```

License
-------

[](#license)

Messages is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance53

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![freddiegar](https://avatars.githubusercontent.com/u/8710491?v=4)](https://github.com/freddiegar "freddiegar (20 commits)")

### Embed Badge

![Health badge](/badges/flexphp-grbac/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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