PHPackages                             dq5studios/psalm-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. dq5studios/psalm-junit

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

dq5studios/psalm-junit
======================

Add junit report format to psalm

v4.1.0(1y ago)4707.3k↓44.5%111BSD-3-ClausePHPPHP &gt;=8.1CI passing

Since Dec 19Pushed 5mo ago1 watchersCompare

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

READMEChangelog (7)Dependencies (7)Versions (9)Used By (11)

[![codecov](https://camo.githubusercontent.com/0516a190eeb4b00da598704ca7fda75843e20ac633e3637690065f739a195385/68747470733a2f2f636f6465636f762e696f2f67682f64713573747564696f732f7073616c6d2d6a756e69742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/dq5studios/psalm-junit)[![shepherd](https://camo.githubusercontent.com/fdd29531d9df2692737113d2ba57ad01cf8d923d04aa6202646afe9463092538/68747470733a2f2f73686570686572642e6465762f6769746875622f64713573747564696f732f7073616c6d2d6a756e69742f636f7665726167652e737667)](https://shepherd.dev/github/dq5studios/psalm-junit)[![Packagist Version](https://camo.githubusercontent.com/63e9f6b5047f15d84aa434f3f3a364329cd4defcb62082c6523e9bd4fa7f0994/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64713573747564696f732f7073616c6d2d6a756e6974)](https://camo.githubusercontent.com/63e9f6b5047f15d84aa434f3f3a364329cd4defcb62082c6523e9bd4fa7f0994/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64713573747564696f732f7073616c6d2d6a756e6974)[![PHP from Packagist](https://camo.githubusercontent.com/78fa29b1b5549b0f2764af5285ebccfaf0c6bef37267c6e758ee93aa019d8e31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f64713573747564696f732f7073616c6d2d6a756e6974)](https://camo.githubusercontent.com/78fa29b1b5549b0f2764af5285ebccfaf0c6bef37267c6e758ee93aa019d8e31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f64713573747564696f732f7073616c6d2d6a756e6974)[![Packagist](https://camo.githubusercontent.com/14596521e8df2930a5dfc18387f8ae47b10c4f0688bd0d5d853d0b682aac16f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f64713573747564696f732f7073616c6d2d6a756e6974)](https://camo.githubusercontent.com/14596521e8df2930a5dfc18387f8ae47b10c4f0688bd0d5d853d0b682aac16f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f64713573747564696f732f7073616c6d2d6a756e6974)

psalm-junit
===========

[](#psalm-junit)

A Junit report plugin for [Psalm](https://github.com/vimeo/psalm).

Installation:

```
composer require --dev dq5studios/psalm-junit
vendor/bin/psalm-plugin enable dq5studios/psalm-junit
```

Usage
-----

[](#usage)

While enabled, the plugin will generate a JUnit formatted file named `psalm_junit_report.xml` every time Psalm is run without the `--report` commandline option.

Configuration
-------------

[](#configuration)

The plugin defaults to writing `psalm_junit_report.xml` in the current working directory. To change this, edit the plugin's settings in `psalm.xml` to add a `filepath` element. All paths are relative to the current working directory.

```

        ./reports/junit.xml

```

The report will not be written if another report is being requested with the `--report` commandline option. To override this and always generate the report, edit the plugin's settings in `psalm.xml` to add an `always` element.

```

```

If the command line option `--report-show-info` is set or `showInfo` is defined in the config, then the value is used to control if info level issues will be included in the output nor in the issue totals. The default is to include them.

```

        false

```

If `showSnippet` is defined in the config, the value is used to control if snippets will be included in the report. The default is to include them.

```

        false

```

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance56

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity72

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

Recently: every ~449 days

Total

7

Last Release

559d ago

Major Versions

V1.0.1 → v2.0.02020-03-05

v2.0.1 → v3.0.02022-12-21

v3.0.0 → v4.0.02025-01-31

PHP version history (3 changes)v1.0.0PHP &gt;=7.2

v3.0.0PHP &gt;=7.4

v4.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b371ce403812b4bc53e2829edd6005697cc0eed406dc8bc201d5bae6ff3ad7e?d=identicon)[dq5studios](/maintainers/dq5studios)

---

Top Contributors

[![dq5studios](https://avatars.githubusercontent.com/u/35929285?v=4)](https://github.com/dq5studios "dq5studios (74 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/dq5studios-psalm-junit/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[roave/infection-static-analysis-plugin

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

1324.4M290](/packages/roave-infection-static-analysis-plugin)[bear/qatools

PHP QA Tools

23116.6k6](/packages/bear-qatools)

PHPackages © 2026

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