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

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

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

Small library for persistence of Wikibase terms via MediaWikis database abstraction layer

024[2 issues](https://github.com/wmde/mediawiki-term-store/issues)PHP

Since May 23Pushed 6y ago13 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Wikibase MediaWiki TermStore
============================

[](#wikibase-mediawiki-termstore)

[![Build Status](https://camo.githubusercontent.com/03822647e63c31911bddd545e5a79dd2e1f174073a8b270f50303569a9c89fef/68747470733a2f2f7472617669732d63692e6f72672f776d64652f6d6564696177696b692d7465726d2d73746f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wmde/mediawiki-term-store)[![Latest Stable Version](https://camo.githubusercontent.com/c5757d5bf0b8840ddf3dc42e5e6766c3063fbe2c9a4f1073c437cb89dce1ebe9/68747470733a2f2f706f7365722e707567782e6f72672f77696b69626173652f6d6564696177696b692d7465726d2d73746f72652f76657273696f6e2e706e67)](https://packagist.org/packages/wikibase/mediawiki-term-store)[![Download count](https://camo.githubusercontent.com/9f2ccc1d4e3ab70177fb7355b0fa23cf10e0261fa599b674f9bec726b81f5c86/68747470733a2f2f706f7365722e707567782e6f72672f77696b69626173652f6d6564696177696b692d7465726d2d73746f72652f642f746f74616c2e706e67)](https://packagist.org/packages/wikibase/mediawiki-term-store)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f39ab3fd32850248d56ac9e1a7dd0503708b5155657d4bbb790e8367a8be0c2c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776d64652f6d6564696177696b692d7465726d2d73746f72652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/wmde/mediawiki-term-store/?branch=master)

MediaWiki based implementation of [Wikibase TermStore](https://github.com/wmde/wikibase-term-store).

Usage
-----

[](#usage)

TODO

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

[](#installation)

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

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

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

[](#development)

Start by installing the project dependencies by executing

```
composer update

```

To get IDE autocompletion for MediaWiki, you can place a copy of MediaWiki inside the gitignored `mediawiki` directory.

```
git clone https://github.com/wikimedia/mediawiki.git

```

You can run the style checks by executing

```
make cs

```

Testing
-------

[](#testing)

Unit tests that do not depend on mediawiki core can be simply run with

```
make test

```

Unit tests that depend on mediawiki core must be in group 'MediaWikiCore' and can be run in the following way:

```
# execute once or only when you want to update mediawiki core version this library use to execute tests
MW=1.32.1 DBTYPE=sqlite make init_mw

# then to run unit tests, you can now execute
make test_mw

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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 (25 commits)")[![lucaswerkmeister](https://avatars.githubusercontent.com/u/2346599?v=4)](https://github.com/lucaswerkmeister "lucaswerkmeister (23 commits)")[![AlaaSarhan](https://avatars.githubusercontent.com/u/1851753?v=4)](https://github.com/AlaaSarhan "AlaaSarhan (11 commits)")[![mariushoch](https://avatars.githubusercontent.com/u/2446964?v=4)](https://github.com/mariushoch "mariushoch (4 commits)")

### Embed Badge

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

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