PHPackages                             aphiria/authorization - 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. aphiria/authorization

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

aphiria/authorization
=====================

The Aphiria library for authorizing requests

1.x-dev(5mo ago)00MITPHPPHP ^8.4CI passing

Since Jan 9Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/aphiria/authorization)[ Packagist](https://packagist.org/packages/aphiria/authorization)[ Docs](https://www.aphiria.com)[ GitHub Sponsors](https://github.com/sponsors/davidbyoung)[ RSS](/packages/aphiria-authorization/feed)WikiDiscussions 1.x Synced today

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

[![](https://camo.githubusercontent.com/b524a39ab8922b927ed94708692e2de878abfe1f9d859dbbb4d82eab6ab59156/68747470733a2f2f7777772e617068697269612e636f6d2f696d616765732f617068697269612d6c6f676f2e737667)](https://www.aphiria.com "Aphiria")

[![](https://github.com/aphiria/authorization/workflows/ci/badge.svg)](https://github.com/aphiria/authorization/actions)[![Coverage Status](https://camo.githubusercontent.com/1294754ed2cb0e65100f9f5b05ffde64a3b9993970b4fbf6099d91042e9a360b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f617068697269612f617574686f72697a6174696f6e2f62616467652e7376673f6272616e63683d312e78)](https://coveralls.io/github/aphiria/authorization?branch=1.x)[![](https://camo.githubusercontent.com/f652928c27835fb8f6f443f97554905f6c44cc9f140468fc96d50d2b540055ff/68747470733a2f2f706f7365722e707567782e6f72672f617068697269612f617574686f72697a6174696f6e2f762f737461626c652e737667)](https://packagist.org/packages/aphiria/authorization)[![](https://camo.githubusercontent.com/f18d92aefd25a99a58df991a99cd134e61087f19ac383550476496b3e18ee888/68747470733a2f2f706f7365722e707567782e6f72672f617068697269612f617574686f72697a6174696f6e2f762f756e737461626c652e737667)](https://packagist.org/packages/aphiria/authorization)[![](https://camo.githubusercontent.com/9549940caa4b789b6dc90aedb4ac7d1771efc1874b763364f4d75d3c92c6b8d6/68747470733a2f2f706f7365722e707567782e6f72672f617068697269612f617574686f72697a6174696f6e2f6c6963656e73652e737667)](https://packagist.org/packages/aphiria/authorization)

Authorization
=============

[](#authorization)

> **Note:** This library is not stable yet.

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

[](#installation)

This library can be installed via [Composer](https://getcomposer.org/download/):

```
composer require aphiria/authorization:^1.0@dev
```

Documentation
-------------

[](#documentation)

Full documentation is available [here](https://www.aphiria.com/docs/1.x/authorization).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance71

Regular maintenance activity

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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 ~245 days

Recently: every ~284 days

Total

7

Last Release

165d ago

PHP version history (3 changes)v1.0.0-alpha6PHP &gt;=8.1

v1.0.0-alpha8PHP ^8.2

v1.0.0-alpha10PHP ^8.4

### Community

Maintainers

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

---

Top Contributors

[![davidbyoung](https://avatars.githubusercontent.com/u/6652430?v=4)](https://github.com/davidbyoung "davidbyoung (40 commits)")

---

Tags

authorizationpbacphprolesphpauthorizationrolespbac

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/aphiria-authorization/health.svg)

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

###  Alternatives

[santigarcor/laratrust

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

2.3k5.8M47](/packages/santigarcor-laratrust)[shanmuga/laravel-entrust

This package provides a flexible solution to add ACL to Laravel

69337.5k2](/packages/shanmuga-laravel-entrust)[hasinhayder/tyro

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

6804.7k6](/packages/hasinhayder-tyro)

PHPackages © 2026

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