PHPackages                             hiraeth/auth - 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. hiraeth/auth

ActiveOpus-package[Authentication &amp; Authorization](/categories/authentication)

hiraeth/auth
============

RBAC/ACL auth for the Hiraeth Nano-Framework

2.0.0(3y ago)09.8k↓64.3%1MITPHPCI failing

Since Oct 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hiraeth-php/auth)[ Packagist](https://packagist.org/packages/hiraeth/auth)[ RSS](/packages/hiraeth-auth/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (4)Used By (1)

[Imarc's RBAC/ACL implementation](https://github.com/imarc/auth) provides robust role-based authentication and configuration of permissions which can be checked dynamically on any entity as well as by providing configuration based access control lists.

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

[](#installation)

```
composer require hiraeth/auth

```

The `auth.jin` configuration will be automatically copied to your `config` directory via [opus](https://github.com/imarc/opus).

Delegates
---------

[](#delegates)

No delegates are included in this package.

Providers
---------

[](#providers)

Operative InterfaceProvides`iMarc\Auth\ManagedInterface``iMarc\Auth\Manager``iMarc\Auth\Manager`Configuration of access control listsConfiguration
-------------

[](#configuration)

```
[auth]

; Aliases enable to combination of multiple permitted actions into a single
; action.  The key is the alias for the actions and the value is an array of
; actions which it also permits.

aliases = {
;	"manage": ["create", "read", "update", "delete"]
}

; Access control lists.  Each entry in the acls list is keyed by the role.
; The value is then an object containing permitted actions (arrays of actions)
; for the keyed targets.

acls = {
;	"admin": {
;		"User" : ["manage"]
;	}
}
```

The `[auth]` section is globally recognized, so it can be added to any configuration file in the system to add additional roles and permissions. Each `[auth]` section constitutes a distinct ACL, so aliases will only apply to the acls defined in the same section.

Usage
-----

[](#usage)

See [the Auth documentation](https://github.com/imarc/auth) for more information on how to use the auth manager and check roles/permissions.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

Total

3

Last Release

840d ago

Major Versions

1.0.0 → 3.0-beta2024-03-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ab2b91daf2aa6e4c7f98f785a3135daa3e9998bd7021d89df05a374e28ecde5?d=identicon)[mattsah](/maintainers/mattsah)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/hiraeth-auth/health.svg)

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

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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