ministryofjustice/opg-core-public-domain-model

Domain model for the OPG Core project

Installs: 8 220

Dependents: 0

Stars: 3

Watchers: 58

Forks: 3

Open Issues: 3

Language: PHP

1.1.34.16 2015-05-20 16:02 UTC

README

Build Status Total Downloads Coverage Status Dependency Status Scrutinizer Quality Score

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