PHPackages                             psalm/plugin-phpunit - 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. psalm/plugin-phpunit

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

psalm/plugin-phpunit
====================

Psalm plugin for PHPUnit

0.20.0(2mo ago)7622.9M↓12.6%37[21 issues](https://github.com/psalm/psalm-plugin-phpunit/issues)[2 PRs](https://github.com/psalm/psalm-plugin-phpunit/pulls)20MITGherkinPHP &gt;=8.1

Since Nov 18Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/psalm/psalm-plugin-phpunit)[ Packagist](https://packagist.org/packages/psalm/plugin-phpunit)[ RSS](/packages/psalm-plugin-phpunit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (51)Used By (20)

phpunit-psalm-plugin
====================

[](#phpunit-psalm-plugin)

A PHPUnit plugin for [Psalm](https://github.com/vimeo/psalm) (requires Psalm v4+).

Installation:

```
composer require --dev psalm/plugin-phpunit
vendor/bin/psalm-plugin enable psalm/plugin-phpunit

```

###  Health Score

70

—

ExcellentBetter than 100% of packages

Maintenance85

Actively maintained with recent releases

Popularity63

Solid adoption and visibility

Community52

Growing community involvement

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~91 days

Total

48

Last Release

60d ago

PHP version history (6 changes)0.10.0PHP ^7.1.3

0.12.2PHP ^7.1.3 || ^8.0

0.13.0PHP ^7.3 || ^8.0

0.14.0PHP ^7.1 || ^8.0

0.19.0PHP ^7.4 || ^8.0

0.19.2PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/37a992956f2ceb043547091360fe71dacdd2b227d5450e7022b2a53660ba4e44?d=identicon)[muglug](/maintainers/muglug)

![](https://www.gravatar.com/avatar/819d5d9fe8f78d00cc5dd7972cbb9e4f049c9bff7186e0e401f3191b3f137885?d=identicon)[weirdan](/maintainers/weirdan)

---

Top Contributors

[![weirdan](https://avatars.githubusercontent.com/u/57403?v=4)](https://github.com/weirdan "weirdan (157 commits)")[![muglug](https://avatars.githubusercontent.com/u/2292638?v=4)](https://github.com/muglug "muglug (58 commits)")[![danog](https://avatars.githubusercontent.com/u/7339644?v=4)](https://github.com/danog "danog (47 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (15 commits)")[![SignpostMarv](https://avatars.githubusercontent.com/u/304403?v=4)](https://github.com/SignpostMarv "SignpostMarv (13 commits)")[![orklah](https://avatars.githubusercontent.com/u/9605520?v=4)](https://github.com/orklah "orklah (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![radarlog](https://avatars.githubusercontent.com/u/1484339?v=4)](https://github.com/radarlog "radarlog (6 commits)")[![ktomk](https://avatars.githubusercontent.com/u/352517?v=4)](https://github.com/ktomk "ktomk (5 commits)")[![vv12131415](https://avatars.githubusercontent.com/u/17382248?v=4)](https://github.com/vv12131415 "vv12131415 (4 commits)")[![VincentLanglet](https://avatars.githubusercontent.com/u/9052536?v=4)](https://github.com/VincentLanglet "VincentLanglet (3 commits)")[![mr-feek](https://avatars.githubusercontent.com/u/5747667?v=4)](https://github.com/mr-feek "mr-feek (2 commits)")[![weph](https://avatars.githubusercontent.com/u/1123079?v=4)](https://github.com/weph "weph (1 commits)")[![caugner](https://avatars.githubusercontent.com/u/495429?v=4)](https://github.com/caugner "caugner (1 commits)")[![ddeboer](https://avatars.githubusercontent.com/u/89267?v=4)](https://github.com/ddeboer "ddeboer (1 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (1 commits)")[![MidnightDesign](https://avatars.githubusercontent.com/u/743172?v=4)](https://github.com/MidnightDesign "MidnightDesign (1 commits)")[![mougrim](https://avatars.githubusercontent.com/u/1057709?v=4)](https://github.com/mougrim "mougrim (1 commits)")[![sander-bol](https://avatars.githubusercontent.com/u/12197682?v=4)](https://github.com/sander-bol "sander-bol (1 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/psalm-plugin-phpunit/health.svg)

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

###  Alternatives

[roave/infection-static-analysis-plugin

Static analysis on top of mutation testing - prevents escaped mutants from being invalid according to static analysis

1314.2M265](/packages/roave-infection-static-analysis-plugin)[psalm/plugin-mockery

Psalm plugin for Mockery

102.6M53](/packages/psalm-plugin-mockery)

PHPackages © 2026

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