PHPackages                             mglaman/phpstan-junit - 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. mglaman/phpstan-junit

Abandoned → [phpstan/phpstan](/?search=phpstan%2Fphpstan)ArchivedLibrary[Testing &amp; Quality](/categories/testing)

mglaman/phpstan-junit
=====================

ErrorFormatter for PHPStan to output errors in JUnit format

0.12(6y ago)4744.3k↑235.7%5[2 issues](https://github.com/mglaman/phpstan-junit/issues)MITPHP

Since Feb 14Pushed 6y agoCompare

[ Source](https://github.com/mglaman/phpstan-junit)[ Packagist](https://packagist.org/packages/mglaman/phpstan-junit)[ RSS](/packages/mglaman-phpstan-junit/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

phpstan-junit
=============

[](#phpstan-junit)

ErrorFormatter for PHPStan to output errors in JUnit format

Usage
-----

[](#usage)

Add the following to your `phpstan.neon`:

```
services:
	errorFormatter.junit:
		class: PHPStan\Command\ErrorFormatter\JUnitErrorFormatter

```

Now you can format PHPStan's output using `--error-format=junit`.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.6% 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 ~121 days

Total

4

Last Release

2376d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98c03d4d2a6aa9b5ecdfc565e8f90f53f0a8f6c2757048a148b34b166d78266c?d=identicon)[mglaman](/maintainers/mglaman)

---

Top Contributors

[![mglaman](https://avatars.githubusercontent.com/u/3698644?v=4)](https://github.com/mglaman "mglaman (11 commits)")[![tijsverkoyen](https://avatars.githubusercontent.com/u/250042?v=4)](https://github.com/tijsverkoyen "tijsverkoyen (2 commits)")[![awilsonuw](https://avatars.githubusercontent.com/u/265389884?v=4)](https://github.com/awilsonuw "awilsonuw (1 commits)")

### Embed Badge

![Health badge](/badges/mglaman-phpstan-junit/health.svg)

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k60.6M10.4k](/packages/larastan-larastan)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67475.0M1.6k](/packages/phpstan-phpstan-doctrine)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79378.2M2.5k](/packages/phpstan-phpstan-symfony)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

5014.2M111](/packages/shipmonk-dead-code-detector)[spaze/phpstan-disallowed-calls

PHPStan rules to detect disallowed method &amp; function calls, constant, namespace, attribute, property &amp; superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.

33923.4M632](/packages/spaze-phpstan-disallowed-calls)[mglaman/phpstan-drupal

Drupal extension and rules for PHPStan

20832.2M213](/packages/mglaman-phpstan-drupal)

PHPackages © 2026

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