PHPackages                             mobiupbr/mup-auth-permission - 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. mobiupbr/mup-auth-permission

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

mobiupbr/mup-auth-permission
============================

Provides a JSON-based ACL control

v1.0.2(5y ago)289MITPHPPHP &gt;=7.4

Since Dec 16Pushed 5y ago2 watchersCompare

[ Source](https://github.com/mobiupbr/mup-auth-permission)[ Packagist](https://packagist.org/packages/mobiupbr/mup-auth-permission)[ RSS](/packages/mobiupbr-mup-auth-permission/feed)WikiDiscussions 1.0.x Synced 3d ago

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

Mobiup Authentication Permission
================================

[](#mobiup-authentication-permission)

Installation by composer
------------------------

[](#installation-by-composer)

Run `composer require mobiupbr/mup-auth-permission`.

Examples:
---------

[](#examples)

```
    $rules = [
        'Mobiup\\Order' => [
            'read' => [
                'channel' => [
                    'cha1',
                    'cha2',
                    'cha3' => [
                        'foo',
                        'bar',
                    ],
                ],
            ],
            'create',
            'update',
        ],

        'Mobiup\\Customer' => [
            'read',
            'create',
            'update',
        ],
    ];

    $acl = new ACL($rules);

    $acl->isAllowed('Mobiup\\Order', 'read'); // returns false
    $acl->isAllowed('Mobiup\\Order', 'read', 'channel'); // returns false
    $acl->isAllowed('Mobiup\\Order', 'read', 'channel', 'cha1'); // returns true
    $acl->isAllowed('Mobiup\\Order', 'read', 'channel', 'cha4'); // returns false

    $acl->isAllowed('Mobiup\\Customer', 'read'); // returns true

    $acl->getAllowance('Mobiup\\Order', 'read'); // returns false
    $acl->getAllowance('Mobiup\\Order', 'read', 'channel'); // returns ['cha1', 'cha2']
    $acl->getAllowance('Mobiup\\Order', 'read', 'channel', 'cha3'); // returns ['foo', 'bar']

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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

Every ~0 days

Total

4

Last Release

1973d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/492af443455ef77f6dfaf0d8f477849a0245a89edd275cee7b2e62c703804775?d=identicon)[rai.virtual](/maintainers/rai.virtual)

---

Top Contributors

[![raivirtual](https://avatars.githubusercontent.com/u/12833472?v=4)](https://github.com/raivirtual "raivirtual (6 commits)")

---

Tags

acl

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mobiupbr-mup-auth-permission/health.svg)

```
[![Health](https://phpackages.com/badges/mobiupbr-mup-auth-permission/health.svg)](https://phpackages.com/packages/mobiupbr-mup-auth-permission)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

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

This package provides a flexible way to add Role-based Permissions to Laravel. Supports laravel 5|6|7|8

6.0k5.3M61](/packages/zizaco-entrust)[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)[casbin/casbin

a powerful and efficient open-source access control library for php projects.

1.3k1.4M54](/packages/casbin-casbin)[nette/security

🔑 Nette Security: provides authentication, authorization and a role-based access control management via ACL (Access Control List)

3839.3M279](/packages/nette-security)

PHPackages © 2026

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