Registry / serialization / wikibase-data-model

wikibase-data-model

JSON →
library9.6.1phppackagistunverified

PHP implementation of the Wikibase DataModel

composer require wikibase/data-model
INSTALL
IMPORT
SIG · WIKIBASE-DATA-MODE
W
wikibase-data-model
serializationphpv9.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Item
✓ use Wikibase\DataModel\Entity\Item;

Create a new Wikibase Item and set its English label.

use Wikibase\DataModel\Entity\Item; $item = new Item(); $item->setLabel('en', 'Example');
Debug
Known issues
breakingRequires PHP 7.2 or higher; some features may not work on older versions.
fix
Upgrade PHP to at least 7.2.
affects: >=9.6.1
Upgrade
Version history
9.6.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Amazon
1
OpenAI (training)
1
Resources
wikibase-data-model — pip install wikibase-data-model · libregistry