PHPackages                             jeroen/wikibase-data-fixtures - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. jeroen/wikibase-data-fixtures

ActiveLibrary[Testing &amp; Quality](/categories/testing)

jeroen/wikibase-data-fixtures
=============================

Fixtures for Wikibase data that can be used in tests or examples

1.2.0(9y ago)16092GPL-2.0+PHPPHP &gt;=5.5.0

Since Aug 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/JeroenDeDauw/WikibaseDataFixtures)[ Packagist](https://packagist.org/packages/jeroen/wikibase-data-fixtures)[ Docs](https://github.com/JeroenDeDauw/WikibaseDataFixtures)[ RSS](/packages/jeroen-wikibase-data-fixtures/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (9)Used By (2)

Wikibase DataFixtures
=====================

[](#wikibase-datafixtures)

[![Build Status](https://camo.githubusercontent.com/17e01ae491deed58f08c14a60b6694cdd71b5a9e6dad853072d5704ea5196f92/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4a65726f656e4465446175772f57696b69626173654461746146697874757265732e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/JeroenDeDauw/WikibaseDataFixtures)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/1609a519964790ef795b586b24d8ebcbc2b1d6838c4b8e9a45655e6fc8005e35/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4a65726f656e4465446175772f57696b69626173654461746146697874757265732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/JeroenDeDauw/WikibaseDataFixtures/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/4ec5736bbdfb71e5d87e1b67f487897223a13c6ef5464f9e29d7accad606f2fc/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f6a65726f656e3a77696b69626173652d646174612d66697874757265732f62616467652e706e67)](https://www.versioneye.com/php/jeroen:wikibase-data-fixtures)[![Download count](https://camo.githubusercontent.com/ee94357493666db0a008c95b7814327bcd673a470164d83975fc07453f60b6a8/68747470733a2f2f706f7365722e707567782e6f72672f6a65726f656e2f77696b69626173652d646174612d66697874757265732f642f746f74616c2e706e67)](https://packagist.org/packages/jeroen/wikibase-data-fixtures)[![License](https://camo.githubusercontent.com/ca12826e548be7562eee8846cf1c123eaf2549b0953ce65226929df492a1209e/68747470733a2f2f706f7365722e707567782e6f72672f6a65726f656e2f77696b69626173652d646174612d66697874757265732f6c6963656e73652e737667)](https://packagist.org/packages/jeroen/wikibase-data-fixtures)

[![Latest Stable Version](https://camo.githubusercontent.com/161543f8edd0cbf8c4f9306e2711c50460cbc798eb1b055e807872ab185728a1/68747470733a2f2f706f7365722e707567782e6f72672f6a65726f656e2f77696b69626173652d646174612d66697874757265732f76657273696f6e2e706e67)](https://packagist.org/packages/jeroen/wikibase-data-fixtures)[![Latest Unstable Version](https://camo.githubusercontent.com/10dc61cbc1cf588754bff11ffc38fd81152f408c524913ac528c75e643441399/68747470733a2f2f706f7365722e707567782e6f72672f6a65726f656e2f77696b69626173652d646174612d66697874757265732f762f756e737461626c652e737667)](//packagist.org/packages/jeroen/wikibase-data-fixtures)

**Wikibase DataFixtures** contains [Wikibase](http://wikiba.se/) data meant for use in tests and examples.

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

[](#installation)

You can use [Composer](http://getcomposer.org/) 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.

To add this package as a local, per-project dependency to your project, simply add a dependency on `jeroen/wikibase-data-fixtures` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on Wikibase DataFixtures 1.0:

```
{
    "require": {
        "jeroen/wikibase-data-fixtures": "~1.0"
    }
}
```

Compatibility
-------------

[](#compatibility)

PHP 5.5 and above are supported.

Generally existing data will not be modified. If it is, the release notes will definitely mention it, and the version number will be incremented appropriately. Changes to this library will come mainly in the form of additions, not as changes or removals. If an `Item` has a particular `Statement`, it will keep having it, even though additional statements might be added.

Running the tests
-----------------

[](#running-the-tests)

Running the tests

```
phpunit

```

Release notes
-------------

[](#release-notes)

### Version 1.2.0 (2017-02-28)

[](#version-120-2017-02-28)

- Allow installation together with Wikibase DataModel 6.x
- Allow installation together with Wikibase DataModel 5.x
- Dropped support for PHP 5.4

### Version 1.1.0 (2015-11-22)

[](#version-110-2015-11-22)

- Added items `Wikidata`, `WikimediaProject`, `OnlineDatabase` and `KnowledgeBase`.

### Version 1.0.0 (2015-11-03)

[](#version-100-2015-11-03)

- Allow installation together with Wikibase DataModel 4.x
- Allow installation together with Wikibase DataModel 3.x

### Version 0.2.4 (2014-10-21)

[](#version-024-2014-10-21)

- Allow installation together with Wikibase DataModel 2.x

### Version 0.2.3 (2014-10-03)

[](#version-023-2014-10-03)

- Added sitelinks to the Berlin item

### Version 0.2.2 (2014-09-11)

[](#version-022-2014-09-11)

- Use only stable versions of Wikibase DataModel 1.x
- Added `PostalCodeProperty`
- Added postal code to `Berlin`

### Version 0.2.1 (2014-08-27)

[](#version-021-2014-08-27)

- Added compatibility with latest Wikibase DataModel changes

### Version 0.2 (2014-08-19)

[](#version-02-2014-08-19)

- Renamed `Country` to `CountryProperty`
- Added `InstanceOfProperty`, `City` and `State`

### Version 0.1 (2014-08-17)

[](#version-01-2014-08-17)

- Initial release

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~132 days

Recently: every ~220 days

Total

8

Last Release

3412d ago

Major Versions

0.2.4 → 1.0.02015-11-03

PHP version history (2 changes)0.2PHP &gt;=5.4.0

1.2.0PHP &gt;=5.5.0

### Community

Maintainers

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

---

Top Contributors

[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (19 commits)")

---

Tags

fixtureswikibase

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeroen-wikibase-data-fixtures/health.svg)

```
[![Health](https://phpackages.com/badges/jeroen-wikibase-data-fixtures/health.svg)](https://phpackages.com/packages/jeroen-wikibase-data-fixtures)
```

###  Alternatives

[liip/test-fixtures-bundle

This bundles enables efficient loading of Doctrine fixtures in functional test-cases for Symfony applications

1799.0M51](/packages/liip-test-fixtures-bundle)[vierge-noire/cakephp-fixture-factories

CakePHP Dynamic Fixtures

84982.0k15](/packages/vierge-noire-cakephp-fixture-factories)[innmind/black-box

Test library

44193.7k115](/packages/innmind-black-box)[friendsofcake/fixturize

CakePHP Fixture classes to help increase productivity or performance

24520.3k1](/packages/friendsofcake-fixturize)[fakerino/fakerino

Faker framework, for generate every kind of fake data for test, database seed, mock responses, other

12314.9k5](/packages/fakerino-fakerino)[derptest/phpmachinist

Testing object factory for PHP

3638.5k1](/packages/derptest-phpmachinist)

PHPackages © 2026

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