2017 © Pedro Peláez
 

library opg-core-public-domain-model

Domain model for the OPG Core project

image

ministryofjustice/opg-core-public-domain-model

Domain model for the OPG Core project

  • Wednesday, May 20, 2015
  • by eddiejaoude
  • Repository
  • 78 Watchers
  • 4 Stars
  • 12,732 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 100 Versions
  • 4 % Grown

The README.md

Build Status Total Downloads Coverage Status Dependency Status Scrutinizer Quality Score, (*1)

OPG Core Domain Model

A Composer/Packagist library of the model classes for the OPG Core project., (*2)

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

  • Github https://github.com/ministryofjustice/opg-core-public-domain-model
  • Travis CI https://travis-ci.org/ministryofjustice/opg-core-public-domain-model
  • Packagist https://packagist.org/packages/ministryofjustice/opg-core-public-domain-model
  • Coveralls https://coveralls.io/r/ministryofjustice/opg-core-public-domain-model
  • Version Eye https://www.versioneye.com/user/projects/5319795dec1375cd3900099b
  • scrutinizer https://scrutinizer-ci.com/g/ministryofjustice/opg-core-public-domain-model/

The Versions