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 | ||
Features[edit source]
DataValues Interfaces is a small PHP library that defines a set of interfaces for parsers, formatters and validators.
Contents
Requirements
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
{{BSExtensionInfobox
|desc=Defines interfaces for ValueParsers, ValueFormatters and ValueValidators.
|status=stable
|developer=Jeroen De Dauw
|type=MediaWiki
|edition=BlueSpice free
|compatible=MediaWiki
|category=Editor
|docu=https://www.mediawiki.org/wiki/Extension:DataValuesInterfaces
}}
'''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 [http://getcomposer.org/ 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: [https://github.com/DataValues/Interfaces/blob/master/README.md GitHub]'''
Line 1: | Line 1: | ||
+ | {{BSExtensionInfobox | ||
+ | |desc=Defines interfaces for ValueParsers, ValueFormatters and ValueValidators. | ||
+ | |status=stable | ||
+ | |developer=Jeroen De Dauw | ||
+ | |type=MediaWiki | ||
+ | |edition=BlueSpice free | ||
+ | |compatible=MediaWiki | ||
+ | |category=Editor | ||
+ | |docu=https://www.mediawiki.org/wiki/Extension:DataValuesInterfaces | ||
+ | }} | ||
'''DataValues''' Interfaces is a small PHP library that defines a set of interfaces for parsers, formatters and validators. | '''DataValues''' Interfaces is a small PHP library that defines a set of interfaces for parsers, formatters and validators. | ||