PHPackages                             addwiki/addwiki - 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. [API Development](/categories/api)
4. /
5. addwiki/addwiki

ActiveProject[API Development](/categories/api)

addwiki/addwiki
===============

Addwiki Monorepo

3.1.0(1y ago)173745[12 issues](https://github.com/addwiki/addwiki/issues)2GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Feb 2Pushed 4w ago5 watchersCompare

[ Source](https://github.com/addwiki/addwiki)[ Packagist](https://packagist.org/packages/addwiki/addwiki)[ RSS](/packages/addwiki-addwiki/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (6)Dependencies (28)Versions (19)Used By (2)

addwiki
=======

[](#addwiki)

Addwiki is a unified PHP toolkit for interacting with MediaWiki, Wikibase, Wikimedia and related APIs.

To get started quickly, run the local scripts in `examples/`.

This repository is now the canonical source and distribution package.

Install with Composer:

```
composer require addwiki/addwiki
```

Internal structure
------------------

[](#internal-structure)

Code is kept in internal package-style folders under `/packages` for separation of concerns, but distribution is done as a single Composer package: `addwiki/addwiki`.

**Most used namespaces:**

- `Addwiki\\Mediawiki\\Api`
- `Addwiki\\Wikibase\\Api`
- `Addwiki\\Wikibase\\Query`
- `Addwiki\\Wikimedia`

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

[](#development)

Run examples from the `examples/` directory.

### Testing &amp; CI

[](#testing--ci)

Run the default local test workflow (lint + phpcs + unit tests):

```
composer run test
```

Run lint only:

```
composer lint
```

Run static analysis separately:

```
composer psalm
```

Run phpunit tests on a single internal package:

```
vendor/bin/phpunit packages/mediawiki-api-base/tests/unit
```

Integration tests are facilitated by the `docker-compose-ci.yml` file. Run it before running integration tests.

```
docker compose -f docker-compose-ci.yml up -d --build
```

Wait for the wiki to be accessible, then run the tests:

```
composer phpunit-integration
```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance53

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 81.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 ~337 days

Total

5

Last Release

661d ago

Major Versions

2.8.0 → 3.0.02021-10-23

PHP version history (4 changes)2.6.0PHP ^7.2

2.8.0PHP &gt;=7.3

3.0.0PHP &gt;=7.4

3.1.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccc2c40c150701b6b72f598f342b6a7aa57d7ab06a08c5f085f6add75094b82b?d=identicon)[addshore](/maintainers/addshore)

---

Top Contributors

[![addshore](https://avatars.githubusercontent.com/u/3308769?v=4)](https://github.com/addshore "addshore (445 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (37 commits)")[![samwilson](https://avatars.githubusercontent.com/u/213655?v=4)](https://github.com/samwilson "samwilson (16 commits)")[![Benestar](https://avatars.githubusercontent.com/u/2998254?v=4)](https://github.com/Benestar "Benestar (10 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (9 commits)")[![Tpt](https://avatars.githubusercontent.com/u/458123?v=4)](https://github.com/Tpt "Tpt (6 commits)")[![google-labs-jules[bot]](https://avatars.githubusercontent.com/in/842251?v=4)](https://github.com/google-labs-jules[bot] "google-labs-jules[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")[![Cladis](https://avatars.githubusercontent.com/u/3663169?v=4)](https://github.com/Cladis "Cladis (2 commits)")[![c960657](https://avatars.githubusercontent.com/u/111346?v=4)](https://github.com/c960657 "c960657 (2 commits)")[![kaldari](https://avatars.githubusercontent.com/u/1707155?v=4)](https://github.com/kaldari "kaldari (2 commits)")[![michaelmillar](https://avatars.githubusercontent.com/u/4921418?v=4)](https://github.com/michaelmillar "michaelmillar (1 commits)")[![nineff](https://avatars.githubusercontent.com/u/3100873?v=4)](https://github.com/nineff "nineff (1 commits)")[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (1 commits)")[![RobinR1](https://avatars.githubusercontent.com/u/6793011?v=4)](https://github.com/RobinR1 "RobinR1 (1 commits)")[![Albert221](https://avatars.githubusercontent.com/u/4085280?v=4)](https://github.com/Albert221 "Albert221 (1 commits)")[![addshore-auto](https://avatars.githubusercontent.com/u/77922206?v=4)](https://github.com/addshore-auto "addshore-auto (1 commits)")[![wfletch](https://avatars.githubusercontent.com/u/57062151?v=4)](https://github.com/wfletch "wfletch (1 commits)")[![DaxServer](https://avatars.githubusercontent.com/u/7479937?v=4)](https://github.com/DaxServer "DaxServer (1 commits)")[![Xymph](https://avatars.githubusercontent.com/u/22516539?v=4)](https://github.com/Xymph "Xymph (1 commits)")

---

Tags

addwikiapidatamodellibrarymediawikiwikimediawikipediamediawiki

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/addwiki-addwiki/health.svg)

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

###  Alternatives

[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M444](/packages/drupal-core-recommended)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19467.3M1.9k](/packages/drupal-core)[laravel/framework

The Laravel Framework.

34.9k556.2M21.1k](/packages/laravel-framework)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M651](/packages/shopware-core)

PHPackages © 2026

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