|Defines interfaces for ValueParsers, ValueFormatters and ValueValidators|
|Developer:||Jeroen De Dauw|
|Type of extension:||MediaWiki|
|Documentation at MediaWiki.org|
DataValues Interfaces is a small PHP library that defines a set of interfaces for parsers, formatters and validators.
PHP 5.5 or later
You can use Composer to download and install this package as well as its dependencies. Alternatively you can simply clone the git repository and take care of loading yourself.
Get the DataValues Interfaces code, either via git, or some other means. Also get all dependencies. You can find a list of the dependencies in the "require" section of the composer.json file. Load all dependencies and the load the DataValues Interfaces library by including its entry point: Interfaces.php.
This library comes with a set up PHPUnit tests that cover all non-trivial code. You can run these tests using the PHPUnit configuration file found in the root directory. The tests can also be run via TravisCI, as a TravisCI configuration file is also provided in the root directory.