DataValues Interfaces

Revision as of 19:12, 12 December 2017 by Angelika (talk | contribs) (Changed categories.)

Extension: DataValues Interfaces


Overview
Description: Defines interfaces for ValueParsers, ValueFormatters and ValueValidators.
State: stable Dependency: MediaWiki
Developer: Jeroen De Dauw License: -
Type: MediaWiki Category: Editor
Edition: BlueSpice free
For more info, visit Mediawiki.

Features

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

Attachments

Discussions