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(1y ago)1454.1k↓35.8%[1 issues](https://github.com/sjinks/wordpress-test-library-stubs/issues)[1 PRs](https://github.com/sjinks/wordpress-test-library-stubs/pulls)4MITPHPPHP ^7.4 || ^8.0CI passing

Since Aug 14Pushed 5d 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 3d ago

READMEChangelogDependencies (2)Versions (21)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

47

—

FairBetter than 93% of packages

Maintenance57

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 57.3% 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

375d 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] (129 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

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M360](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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