PHPackages                             xwp/wordpress-tests-installer - 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. xwp/wordpress-tests-installer

ActiveComposer-plugin[Testing &amp; Quality](/categories/testing)

xwp/wordpress-tests-installer
=============================

Handles installing the WordPress PHPUnit test suite with composer

1.0.3(5y ago)246.0k2[1 issues](https://github.com/xwp/wordpress-tests-installer/issues)[1 PRs](https://github.com/xwp/wordpress-tests-installer/pulls)MITPHP

Since Mar 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/xwp/wordpress-tests-installer)[ Packagist](https://packagist.org/packages/xwp/wordpress-tests-installer)[ RSS](/packages/xwp-wordpress-tests-installer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

WordPress Tests Installer
=========================

[](#wordpress-tests-installer)

[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)[![Packagist](https://camo.githubusercontent.com/7b3f9989e61298523349cbb628523e587fce5156d34a536612b2e8799f98c704/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7877702f776f726470726573732d74657374732d696e7374616c6c65722e737667)](https://packagist.org/packages/xwp/wordpress-tests-installer)[![GitHub tag](https://camo.githubusercontent.com/3d3482d77c8f6a81f138f8959ed7c278afd6931913b9c21c0f21946ebd37ae42/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f7877702f776f726470726573732d636f72652d696e7374616c6c65722e737667)](https://camo.githubusercontent.com/3d3482d77c8f6a81f138f8959ed7c278afd6931913b9c21c0f21946ebd37ae42/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f7877702f776f726470726573732d636f72652d696e7374616c6c65722e737667)

A custom Composer plugin to install the WordPress Core PHPUnit test suite inside the `vendor` directory.

### Usage

[](#usage)

To add the WordPress Core PHPUnit test suite, add the following to your package's composer file:

```
"require": {
	"xwp/wordpress-tests-installer": "dev-master"
}

```

If you require a specific WordPress Core version, other than the latest stable release, you'll need to create a `.env` file in the root of your project and add the following:

```
WP_VERSION=4.9.4

```

When used with Travis CI you will need to add the environment variable to the [config file](https://docs.travis-ci.com/user/environment-variables/) or through the [web UI](https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings).

### License

[](#license)

This code is licensed under the [MIT license](https://github.com/xwp/wordpress-tests-installer/blob/master/LICENSE.md).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

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 ~319 days

Total

4

Last Release

2074d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1715811?v=4)[Derek Herman](/maintainers/derekherman)[@derekherman](https://github.com/derekherman)

---

Top Contributors

[![valendesigns](https://avatars.githubusercontent.com/u/62798?v=4)](https://github.com/valendesigns "valendesigns (1 commits)")

---

Tags

wordpress

### Embed Badge

![Health badge](/badges/xwp-wordpress-tests-installer/health.svg)

```
[![Health](https://phpackages.com/badges/xwp-wordpress-tests-installer/health.svg)](https://phpackages.com/packages/xwp-wordpress-tests-installer)
```

###  Alternatives

[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[yoast/wp-test-utils

PHPUnit cross-version compatibility layer for testing plugins and themes build for WordPress

622.6M87](/packages/yoast-wp-test-utils)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13191.0k8](/packages/youwe-testing-suite)[axepress/wp-graphql-cs

PHP\_CodeSniffer rules (sniffs) for the WPGraphQL ecosystem.

1176.0k9](/packages/axepress-wp-graphql-cs)

PHPackages © 2026

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