PHPackages                             ministryofjustice/opg-core-public-domain-model - 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. ministryofjustice/opg-core-public-domain-model

AbandonedArchivedLibrary

ministryofjustice/opg-core-public-domain-model
==============================================

Domain model for the OPG Core project

1.1.34.16(10y ago)322.9k4[1 issues](https://github.com/ministryofjustice/opg-core-public-domain-model/issues)[2 PRs](https://github.com/ministryofjustice/opg-core-public-domain-model/pulls)PHPPHP &gt;=5.4CI failing

Since Mar 6Pushed 10y ago69 watchersCompare

[ Source](https://github.com/ministryofjustice/opg-core-public-domain-model)[ Packagist](https://packagist.org/packages/ministryofjustice/opg-core-public-domain-model)[ RSS](/packages/ministryofjustice-opg-core-public-domain-model/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (15)Versions (174)Used By (0)

[![Build Status](https://camo.githubusercontent.com/539d41c881e5db8735dd6a29b5587a8580e9c42f9e90c98aa5d15d46e921a0ab/68747470733a2f2f7472617669732d63692e6f72672f6d696e69737472796f666a7573746963652f6f70672d636f72652d7075626c69632d646f6d61696e2d6d6f64656c2e737667)](https://travis-ci.org/ministryofjustice/opg-core-public-domain-model)[![Total Downloads](https://camo.githubusercontent.com/594f0bc90a03896511f4af89fc497bb2ca3246eea40b00572dc71c29b08c6883/68747470733a2f2f706f7365722e707567782e6f72672f6d696e69737472796f666a7573746963652f6f70672d636f72652d7075626c69632d646f6d61696e2d6d6f64656c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/ministryofjustice/opg-core-public-domain-model)[![Coverage Status](https://camo.githubusercontent.com/9928308d7fcc77727b8a080b61554621d57643ce8f2b3e068f2337beb73019da/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6d696e69737472796f666a7573746963652f6f70672d636f72652d7075626c69632d646f6d61696e2d6d6f64656c2f62616467652e706e67)](https://coveralls.io/r/ministryofjustice/opg-core-public-domain-model)[![Dependency Status](https://camo.githubusercontent.com/9c1183842ca2f066f4089b8a8fe221c671257d6aee57df392e24742dabcddfaa/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533313937393564656331333735636433393030303939622f62616467652e706e67)](https://www.versioneye.com/user/projects/5319795dec1375cd3900099b)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/0dc88fd28174cfe75533b35833355136cdd9d4f577a91eb7e472a5e9cecaedf3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d696e69737472796f666a7573746963652f6f70672d636f72652d7075626c69632d646f6d61696e2d6d6f64656c2f6261646765732f7175616c6974792d73636f72652e706e673f733d62303063353561663634343338323539666665643830343065626661343631353435316134303634)](https://scrutinizer-ci.com/g/ministryofjustice/opg-core-public-domain-model/)

OPG Core Domain Model
=====================

[](#opg-core-domain-model)

A Composer/Packagist library of the model classes for the OPG Core project.

Rules for a valid LPA
---------------------

[](#rules-for-a-valid-lpa)

- Applicants must be either a donor or a combination of one or more attorneys. If there is a donor in the collection, there must be no attorneys.
- There is exactly one donor.
- There is at least one attorney.
- There is at least one certificate provider. If there are no notified persons, there must be at least two certificate providers.
- There are zero or more notified persons.
- There is exactly one correspondent. The correspondent may be a person or a company.

Dependencies
------------

[](#dependencies)

```
> php composer.phar install

```

Tests
-----

[](#tests)

```
> vendor/bin/phpunit -c tests/phpunit.xml

```

Resources
---------

[](#resources)

- Github
- Travis CI
- Packagist
- Coveralls
- Version Eye
- scrutinizer

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 60.2% 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 ~2 days

Total

163

Last Release

4011d ago

Major Versions

0.21.3 → 1.0.22.12014-07-25

### Community

Maintainers

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

---

Top Contributors

[![brettminnie](https://avatars.githubusercontent.com/u/6124248?v=4)](https://github.com/brettminnie "brettminnie (720 commits)")[![jeremyquinton](https://avatars.githubusercontent.com/u/1847770?v=4)](https://github.com/jeremyquinton "jeremyquinton (169 commits)")[![eddiejaoude](https://avatars.githubusercontent.com/u/624760?v=4)](https://github.com/eddiejaoude "eddiejaoude (163 commits)")[![PaulVM](https://avatars.githubusercontent.com/u/3284594?v=4)](https://github.com/PaulVM "PaulVM (69 commits)")[![jianzhong](https://avatars.githubusercontent.com/u/1597492?v=4)](https://github.com/jianzhong "jianzhong (26 commits)")[![chris-moreton](https://avatars.githubusercontent.com/u/1436601?v=4)](https://github.com/chris-moreton "chris-moreton (21 commits)")[![knasher](https://avatars.githubusercontent.com/u/1300648?v=4)](https://github.com/knasher "knasher (11 commits)")[![bnppl](https://avatars.githubusercontent.com/u/1390716?v=4)](https://github.com/bnppl "bnppl (9 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (4 commits)")[![rs-saunders](https://avatars.githubusercontent.com/u/4743056?v=4)](https://github.com/rs-saunders "rs-saunders (2 commits)")[![joshk](https://avatars.githubusercontent.com/u/8701?v=4)](https://github.com/joshk "joshk (1 commits)")[![gmannings](https://avatars.githubusercontent.com/u/2606932?v=4)](https://github.com/gmannings "gmannings (1 commits)")[![ethanchiddicks](https://avatars.githubusercontent.com/u/1576456?v=4)](https://github.com/ethanchiddicks "ethanchiddicks (1 commits)")

---

Tags

opg-core

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ministryofjustice-opg-core-public-domain-model/health.svg)

```
[![Health](https://phpackages.com/badges/ministryofjustice-opg-core-public-domain-model/health.svg)](https://phpackages.com/packages/ministryofjustice-opg-core-public-domain-model)
```

###  Alternatives

[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[api-platform/doctrine-orm

Doctrine ORM bridge

243.1M39](/packages/api-platform-doctrine-orm)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[stroker/form

ZF2 module for extending forms with live clientside validation

4157.1k](/packages/stroker-form)

PHPackages © 2026

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