PHPackages                             og/context-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. og/context-domain

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

og/context-domain
=================

Domain layer code for the OG Context library

06

Since Oct 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/olsthoorn-group/context-domain)[ Packagist](https://packagist.org/packages/og/context-domain)[ RSS](/packages/og-context-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/8df7b3b3d87a677b47bfc3ed3a4b19b04004b766e267005bf5f61c7dbdd57a7d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f672f636f6e746578742d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/og/context-domain)[![Build Status](https://camo.githubusercontent.com/71a4e39a5639df5b40270e5f304603d82eaefefda42c7fa901ec91281d947a62/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f6c7374686f6f726e2d67726f75702f636f6e746578742d646f6d61696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/olsthoorn-group/context-domain)[![Coverage Status](https://camo.githubusercontent.com/2ace790e0cb1265aa51771baf272b9db84d195fcc5e2aad8a8af98de4ffaf84f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6f6c7374686f6f726e2d67726f75702f636f6e746578742d646f6d61696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/context-domain/code-structure)[![Quality Score](https://camo.githubusercontent.com/50abc5834e7d3d10c1b8da7d2facb6617bfae6ebfe6840ecd6d882ca6641ff57/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6f6c7374686f6f726e2d67726f75702f636f6e746578742d646f6d61696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/context-domain)[![Software License](https://camo.githubusercontent.com/d52ae6403668482436cbaa4206e9e8506ed640a2708e04b21a4da773a6cd7eec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6f672f6163636f756e742d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/8e5d4a157495429b083772a2abdde344494beba61ac60d5eddd48ab49b21243a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f672f636f6e746578742d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/og/context-domain)

develop:
[![Latest Pre Version on Packagist](https://camo.githubusercontent.com/4eb3bacee90172ea7d5e66416c204e934c63f4479d643d83f211ceab44c7f78e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6f672f636f6e746578742d646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/og/context-domain)[![Build Status](https://camo.githubusercontent.com/10605de2dc10f853d80149ec00f32988ac97bf89470eb76b93a6ac73db55456f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f6c7374686f6f726e2d67726f75702f636f6e746578742d646f6d61696e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/olsthoorn-group/context-domain)[![Coverage Status](https://camo.githubusercontent.com/d413d59825c0b10978d5fd8fff786075a668c33341bcc92bc2fd598363788778/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6f6c7374686f6f726e2d67726f75702f636f6e746578742d646f6d61696e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/context-domain/code-structure)[![Quality Score](https://camo.githubusercontent.com/e53308bba833544a0f942840cda329fef60646b55fd910135b27149bb80eba8b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6f6c7374686f6f726e2d67726f75702f636f6e746578742d646f6d61696e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/olsthoorn-group/context-domain)

Domain layer code for the OG Context library

Install
-------

[](#install)

Via Composer

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

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

###  Alternatives

[wesselperik/nova-status-field

A Laravel Nova field for displaying statuses.

30213.5k](/packages/wesselperik-nova-status-field)[karnbrockgmbh/yii2-modal-ajax

A wrapper around Yii2 Bootstrap Modal for using an ActiveForm via AJAX inside

135.9k](/packages/karnbrockgmbh-yii2-modal-ajax)

PHPackages © 2026

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