Difference between revisions of "Archive:DataValues Interfaces"

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[edit source]

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

Contents

1

Requirements

  • 2 Installation
  • 3 Manual
  • 4 Tests
  • Requirements[edit | edit source]

    PHP 5.5 or later

    Installation[edit | edit source]

    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[edit | edit source]

    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[edit | edit source]

    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