PHPackages                             wikibase/doctrine-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/doctrine-term-store

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

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

Small library for persistence of Wikibase terms via Doctrine DBAL

123[1 PRs](https://github.com/wmde/doctrine-term-store/pulls)PHP

Since Apr 24Pushed 6y ago24 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Wikibase Doctrine TermStore
===========================

[](#wikibase-doctrine-termstore)

[![Build Status](https://camo.githubusercontent.com/6a9790726cb7b94d88c63b15caed99f4d4b282c0d8a22341c7f095f6e13e9fa3/68747470733a2f2f7472617669732d63692e6f72672f776d64652f646f637472696e652d7465726d2d73746f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wmde/doctrine-term-store)[![Latest Stable Version](https://camo.githubusercontent.com/c600f07b182b4d66eb07f92a8092e7312b9e69707897ed0f8c3cd61d353be7e4/68747470733a2f2f706f7365722e707567782e6f72672f77696b69626173652f646f637472696e652d7465726d2d73746f72652f76657273696f6e2e706e67)](https://packagist.org/packages/wikibase/doctrine-term-store)[![Download count](https://camo.githubusercontent.com/78f06cc24f76e0ce895ff0ccc90f8904091d7b03d50597770fef9b1e5075b4d2/68747470733a2f2f706f7365722e707567782e6f72672f77696b69626173652f646f637472696e652d7465726d2d73746f72652f642f746f74616c2e706e67)](https://packagist.org/packages/wikibase/doctrine-term-store)

[Doctrine DBAL](https://www.doctrine-project.org/projects/dbal.html) implementation of [Wikibase TermStore](https://github.com/wmde/wikibase-term-store).

Usage
-----

[](#usage)

The public entry point of the package is `DoctrineTermStore`, which is used to construct all services.

```
$termStore = new DoctrineTermStore( /* config */ );
```

Getting terms:

```
$fingerprint = $termStore->newPropertyTermStore()->getTerms( $propertyId );
```

Schema creation:

```
$termStore->install();
```

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

[](#installation)

To use the Wikibase TermStore library in your project, simply add a dependency on wikibase/doctrine-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/doctrine-term-store 1.x:

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

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

[](#development)

Start by installing the project dependencies by executing

```
composer update

```

You can run the tests by executing

```
make test

```

You can run the style checks by executing

```
make cs

```

To run all CI checks, execute

```
make ci

```

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

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

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 89.4% 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.

### 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)")[![AlaaSarhan](https://avatars.githubusercontent.com/u/1851753?v=4)](https://github.com/AlaaSarhan "AlaaSarhan (8 commits)")[![addshore](https://avatars.githubusercontent.com/u/3308769?v=4)](https://github.com/addshore "addshore (1 commits)")[![Ladsgroup](https://avatars.githubusercontent.com/u/5351225?v=4)](https://github.com/Ladsgroup "Ladsgroup (1 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/wikibase-doctrine-term-store/health.svg)](https://phpackages.com/packages/wikibase-doctrine-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.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

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

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/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)
