wikibase / data-model-services
Services around the Wikibase DataModel
Installs: 154 759
Dependents: 7
Suggesters: 0
Security: 0
Stars: 3
Watchers: 25
Forks: 6
Open Issues: 10
Requires
- php: >=7.2
- data-values/data-values: ~3.0|~2.0|~1.0
- diff/diff: ~3.2
- wikibase/data-model: ~9.0|~8.0
- wikimedia/assert: ~0.2.2|~0.3.0|~0.4.0|~0.5.0
Requires (Dev)
- mediawiki/mediawiki-codesniffer: 34.0.0
- phpmd/phpmd: ~2.3
- phpunit/phpunit: ~8.0
- 5.4.0
- dev-master / 5.3.x-dev
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.0
- 4.0.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.0
- 2.0.1
- 2.0.0
- 1.1.0
- 1.0.0
- dev-legacy
- dev-Make_sure_all_Wikibase_codebases_run_PHPCS_during_composer_test
- dev-update_required_libs
- dev-IterableEntityIdPager
- dev-FingerprintDiffer
- dev-suffixParser
- dev-micro-opti-entityid-stuffz
- dev-entity-setid-nonull
- dev-statementListChanger
- dev-dm62
- dev-rel-322
This package is auto-updated.
Last update: 2024-11-15 15:10:12 UTC
README
Wikibase DataModel Services is a collection of services around Wikibase DataModel. It is part of the Wikibase software.
Recent changes can be found in the release notes.
Library contents
In order to be allowed in this package, code needs to:
- Be using Wikibase DataModel and deal with the core Wikibase domain
- Not belong to a more specific component
- Not introduce heavy dependencies to this component
- Not be presentation code
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.
Composer
To add this package as a local, per-project dependency to your project, simply add a
dependency on wikibase/data-model-services
to your project's composer.json
file.
Here is a minimal example of a composer.json
file that just defines a dependency on
Wikibase DataModel Services 3.x:
{ "require": { "wikibase/data-model-services": "~5.0" } }
Manual
Get the Wikibase DataModel Services 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. The "autoload" section of this file specifies how to load the resources provide by this library.
Tests
This library comes with a set up PHPUnit tests that cover all non-trivial code. Additionally, code
style checks by PHPCS and PHPMD are supported. The configuration for all 3 these tools can be found
in the root directory. You can use the tools in their standard manner, though can run all checks
required by our CI by executing composer ci
. To just run tests use composer test
, and to just
run style checks use composer cs
.
Links
- Wikibase DataModel Services on Packagist
- Wikibase DataModel Services on TravisCI
- Wikibase DataModel Services on ScrutinizerCI