PHPackages                             wildwolf/wordpress-test-library-stubs - 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. wildwolf/wordpress-test-library-stubs

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

wildwolf/wordpress-test-library-stubs
=====================================

Stubs for WordPress test library

6.8.1(10mo ago)1414.2k↓39.1%[1 issues](https://github.com/sjinks/wordpress-test-library-stubs/issues)[3 PRs](https://github.com/sjinks/wordpress-test-library-stubs/pulls)4MITPHPPHP ^7.4 || ^8.0CI passing

Since Aug 14Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/sjinks/wordpress-test-library-stubs)[ Packagist](https://packagist.org/packages/wildwolf/wordpress-test-library-stubs)[ Fund](https://send.monobank.ua/jar/7rosVfiwKM)[ Fund](https://www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU)[ RSS](/packages/wildwolf-wordpress-test-library-stubs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (19)Used By (4)

wordpress-test-library-stubs
============================

[](#wordpress-test-library-stubs)

[![CI](https://github.com/sjinks/wordpress-test-library-stubs/actions/workflows/ci.yml/badge.svg)](https://github.com/sjinks/wordpress-test-library-stubs/actions/workflows/ci.yml)

This package provides stub declarations for the WordPress Test Library.

The stubs were generated directly from the source code with the help of [php-stubs/generator](https://github.com/php-stubs/generator).

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

[](#installation)

```
composer require --dev wildwolf/wordpress-test-library-stubs
```

Usage with Psalm
----------------

[](#usage-with-psalm)

Update your Psalm configuration file to include the following code:

```

```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance52

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 55.1% 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 ~108 days

Recently: every ~258 days

Total

14

Last Release

329d ago

Major Versions

5.9.1 → 6.0.02022-06-19

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1079712?v=4)[wildwolf](/maintainers/wildwolf)[@wildwolf](https://github.com/wildwolf)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (118 commits)")[![sjinks](https://avatars.githubusercontent.com/u/7810770?v=4)](https://github.com/sjinks "sjinks (95 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

stubswordpresswordpress-tests

### Embed Badge

![Health badge](/badges/wildwolf-wordpress-test-library-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/wildwolf-wordpress-test-library-stubs/health.svg)](https://phpackages.com/packages/wildwolf-wordpress-test-library-stubs)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)

PHPackages © 2026

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