ministryofjustice/opg-core-public-domain-model

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.1.34.16) of this package.

Domain model for the OPG Core project

1.1.34.16 2015-05-20 16:02 UTC

This package is not auto-updated.

Last update: 2020-05-01 16:46:23 UTC


README

Build Status Total Downloads Coverage Status Dependency Status Scrutinizer Quality Score

OPG Core Domain Model

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

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

> php composer.phar install

Tests

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

Resources