DataValues Interfaces

From BlueSpice

Jump to: navigation, search


DataValues Interfaces
Defines interfaces for ValueParsers, ValueFormatters and ValueValidators
State: stable
Developer: Jeroen De Dauw
Type of extension: MediaWiki
Edition: BlueSpice pro
Dependency: MediaWiki
Software package: SemanticData
Category: Data Analysis
Documentation at MediaWiki.org

DataValues Interfaces is a small PHP library that defines a set of interfaces for parsers, formatters and validators.

Requirements

PHP 5.5 or later

Installation

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.

Manual

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.

Tests

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.


Source: GitHub