PHPackages                             wikibase/term-store - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. wikibase/term-store

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

wikibase/term-store
===================

Tiny Wikibase library that defines interfaces for persisting terms of Items and Properties

1.0.4(6y ago)119.0kBSD-3-ClausePHPPHP ^7.2

Since Apr 10Pushed 6y ago13 watchersCompare

[ Source](https://github.com/wmde/wikibase-term-store)[ Packagist](https://packagist.org/packages/wikibase/term-store)[ RSS](/packages/wikibase-term-store/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (7)Versions (6)Used By (0)

DEPRECATED: Similar interfaces have been added to [wikibase/data-model-services](https://github.com/wmde/WikibaseDataModelServices) and continue to be maintained as part of that library.

Wikibase TermStore
==================

[](#wikibase-termstore)

[![Build Status](https://camo.githubusercontent.com/f19a48d3bd331c641832dc1ad3599614ac965aa1b9572ee47ce9b73d069c3b31/68747470733a2f2f7472617669732d63692e6f72672f776d64652f77696b69626173652d7465726d2d73746f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wmde/wikibase-term-store)[![Latest Stable Version](https://camo.githubusercontent.com/d27dec12a83c1555f9a1bae0ead494aa124c40b22b933fb9165bfdd40bfed1b6/68747470733a2f2f706f7365722e707567782e6f72672f77696b69626173652f7465726d2d73746f72652f76657273696f6e2e706e67)](https://packagist.org/packages/wikibase/term-store)[![Download count](https://camo.githubusercontent.com/df05bf1bb2f6633d0b61e1968d3bdc70cbfe6daebe7090ce2f43fa50918062dd/68747470733a2f2f706f7365722e707567782e6f72672f77696b69626173652f7465726d2d73746f72652f642f746f74616c2e706e67)](https://packagist.org/packages/wikibase/term-store)

Tiny Wikibase library that defines interfaces for persisting terms of Items and Properties.

Usage
-----

[](#usage)

Real implementations of the interface can be found in [dependent packages](https://packagist.org/packages/wikibase/term-store/dependents).

This library does provide some trivial implementations, mainly to facilitate testing.

- `InMemoryPropertyTermStore` - simple in memory Fake
- `ThrowingPropertyTermStore` - throws an exception when one of its methods is invoked
- `InMemoryItemTermStore` - simple in memory Fake
- `ThrowingItemTermStore` - throws an exception when one of its methods is invoked

Installation
------------

[](#installation)

To use the Wikibase TermStore library in your project, simply add a dependency on wikibase/term-store to your project's `composer.json` file. Here is a minimal example of a `composer.json`file that just defines a dependency on wikibase/term-store 1.x:

```
{
    "require": {
        "wikibase/term-store": "~1.0"
    }
}
```

Development
-----------

[](#development)

Start by installing the project dependencies by executing

```
composer update

```

You can run the tests by executing

```
composer test

```

You can run the style checks by executing

```
composer cs

```

To run all CI checks, execute

```
composer ci

```

You can also invoke PHPUnit directly to pass it arguments, as follows

```
vendor/bin/phpunit --filter SomeClassNameOrFilter

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~72 days

Total

5

Last Release

2303d ago

PHP version history (2 changes)1.0.0PHP ^5.6.99|^7.0

1.0.3PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/451bd4039d530fed8f9c3da91bfa519233a397d2182cdfdcad700f6cfea19b7f?d=identicon)[Jeroen De Dauw](/maintainers/Jeroen%20De%20Dauw)

![](https://www.gravatar.com/avatar/054adb441e7ee248ec924bc45fa793835c284710eb31627587fa5de21bab9e96?d=identicon)[wmde](/maintainers/wmde)

---

Top Contributors

[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (84 commits)")[![addshore](https://avatars.githubusercontent.com/u/3308769?v=4)](https://github.com/addshore "addshore (8 commits)")[![AlaaSarhan](https://avatars.githubusercontent.com/u/1851753?v=4)](https://github.com/AlaaSarhan "AlaaSarhan (5 commits)")[![Ladsgroup](https://avatars.githubusercontent.com/u/5351225?v=4)](https://github.com/Ladsgroup "Ladsgroup (3 commits)")[![manicki](https://avatars.githubusercontent.com/u/3524114?v=4)](https://github.com/manicki "manicki (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wikibase-term-store/health.svg)

```
[![Health](https://phpackages.com/badges/wikibase-term-store/health.svg)](https://phpackages.com/packages/wikibase-term-store)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
