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

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

og/authorization-domain
=======================

Domain layer code for the OG Authorization library

06

Since Oct 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/olsthoorn-group/authorization-domain)[ Packagist](https://packagist.org/packages/og/authorization-domain)[ RSS](/packages/og-authorization-domain/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Core Domain
===========

[](#core-domain)

master:
[![Latest Version on Packagist](https://camo.githubusercontent.com/dd113d4ca9d1671c4169354a0de31cf2ae0ca19b795c34d8fd0077e5d6606d38/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f672f617574686f72697a6174696f6e2d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/og/authorization-domain)[![Build Status](https://camo.githubusercontent.com/1a9ac8d79e14d9492918a339b039866355769d15f3790021ae4a1589be0a232a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f6c7374686f6f726e2d67726f75702f617574686f72697a6174696f6e2d646f6d61696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/olsthoorn-group/authorization-domain)[![Coverage Status](https://camo.githubusercontent.com/adf29acb1f0293e38047d34ba875930fe4999277daff4609a784543877fae027/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6f6c7374686f6f726e2d67726f75702f617574686f72697a6174696f6e2d646f6d61696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/authorization-domain/code-structure)[![Quality Score](https://camo.githubusercontent.com/f32bebe345d9db5919dd731700eb2d6c47049f6a37a9626326ca120fdb576ac5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6f6c7374686f6f726e2d67726f75702f617574686f72697a6174696f6e2d646f6d61696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/authorization-domain)[![Software License](https://camo.githubusercontent.com/d52ae6403668482436cbaa4206e9e8506ed640a2708e04b21a4da773a6cd7eec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6f672f6163636f756e742d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/9c4d54f22e25f1597aa0871971527b55059cf7b71ee6d14ca3cc956738e91d3d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f672f617574686f72697a6174696f6e2d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/og/authorization-domain)

develop:
[![Latest Pre Version on Packagist](https://camo.githubusercontent.com/9f5636fcd2717349445e0dbddfd1dde9362eb6e39de9e477eb76b84ac6f6bf9c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6f672f617574686f72697a6174696f6e2d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/og/authorization-domain)[![Build Status](https://camo.githubusercontent.com/985fcbcc2e700e18222391c84150106dadf925c0ecb258b7a7935395d9c3b24e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f6c7374686f6f726e2d67726f75702f617574686f72697a6174696f6e2d646f6d61696e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/olsthoorn-group/authorization-domain)[![Coverage Status](https://camo.githubusercontent.com/cd9e9a1e309470cbb874c3682e6d597ec701b1429743f00a895e512a97b9f9a0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6f6c7374686f6f726e2d67726f75702f617574686f72697a6174696f6e2d646f6d61696e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/authorization-domain/code-structure)[![Quality Score](https://camo.githubusercontent.com/1b3ef0a095c4e7431cbccec7d234e5b3bc94f86e21eee9d9fd11514826ae188e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6f6c7374686f6f726e2d67726f75702f617574686f72697a6174696f6e2d646f6d61696e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/authorization-domain)

Domain layer code for the OG Authorization library

Install
-------

[](#install)

Via Composer

```
$ composer require og/authorization-domain
```

Usage
-----

[](#usage)

```
$skeleton = new OG\Skeleton();
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Mitchell Olsthoorn](https://github.com/mitchellolsthoorn)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b87d55925f0a5666f8336f7dfbc7e871567a7f25b8ac933243f1a74b1dac6aac?d=identicon)[mitchell.olsthoorn](/maintainers/mitchell.olsthoorn)

---

Top Contributors

[![mitchellolsthoorn](https://avatars.githubusercontent.com/u/1785526?v=4)](https://github.com/mitchellolsthoorn "mitchellolsthoorn (1 commits)")

### Embed Badge

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

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

###  Alternatives

[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)[illuminate/auth

The Illuminate Auth package.

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

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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