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

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

og/authentication-domain
========================

Domain layer code for the OG Authentication library

06

Since Oct 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/olsthoorn-group/authentication-domain)[ Packagist](https://packagist.org/packages/og/authentication-domain)[ RSS](/packages/og-authentication-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/633aaeec404fdf745d4a9779ef41b9c3f10680d661c567119ddc16c0c8f9a464/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f672f61757468656e7469636174696f6e2d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/og/authentication-domain)[![Build Status](https://camo.githubusercontent.com/dbcf8078a6278714e34bdb8f9184738df153921bb6837e05f42113b2d3ca3e37/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f6c7374686f6f726e2d67726f75702f61757468656e7469636174696f6e2d646f6d61696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/olsthoorn-group/authentication-domain)[![Coverage Status](https://camo.githubusercontent.com/1967c2db9e08fad2c6c98057d889ea7804af3150a5c047d6e1a162f0792eb86e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6f6c7374686f6f726e2d67726f75702f61757468656e7469636174696f6e2d646f6d61696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/authentication-domain/code-structure)[![Quality Score](https://camo.githubusercontent.com/6af45988599047994cb8531236bbd819632f674bca140954412fc020e00a7875/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6f6c7374686f6f726e2d67726f75702f61757468656e7469636174696f6e2d646f6d61696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/authentication-domain)[![Software License](https://camo.githubusercontent.com/d52ae6403668482436cbaa4206e9e8506ed640a2708e04b21a4da773a6cd7eec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6f672f6163636f756e742d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/fe3e6b5fc4d30132fe03d609a8b5367a96aab1ea785f1ee70a2175c798e89d0b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f672f61757468656e7469636174696f6e2d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/og/authentication-domain)

develop:
[![Latest Pre Version on Packagist](https://camo.githubusercontent.com/727a6a3159e78a5383e81aaaf18e2e38a569914672e5a382eaf0a984f1d88eb0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6f672f61757468656e7469636174696f6e2d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/og/authentication-domain)[![Build Status](https://camo.githubusercontent.com/e8a0d754c9714245a886e397ffb057efa9a7e0c521ee103b553c8ab3e15c45c9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f6c7374686f6f726e2d67726f75702f61757468656e7469636174696f6e2d646f6d61696e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/olsthoorn-group/authentication-domain)[![Coverage Status](https://camo.githubusercontent.com/4c35c650a0e646e29243f79a433c3b4c51073d816a856bf52dbc2a1b0b068952/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6f6c7374686f6f726e2d67726f75702f61757468656e7469636174696f6e2d646f6d61696e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/authentication-domain/code-structure)[![Quality Score](https://camo.githubusercontent.com/69e2ce5034bfb048d9ad4244de61f151d1972045f5eaa709ddf0ace2166477b7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6f6c7374686f6f726e2d67726f75702f61757468656e7469636174696f6e2d646f6d61696e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/authentication-domain)

Domain layer code for the OG Authentication library

Install
-------

[](#install)

Via Composer

```
$ composer require og/authentication-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-authentication-domain/health.svg)

```
[![Health](https://phpackages.com/badges/og-authentication-domain/health.svg)](https://phpackages.com/packages/og-authentication-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)
