roave/psalm-html-output

Psalm HTML Output

Maintainers

👁 asgrim

Package info

github.com/Roave/psalm-html-output

Language:XSLT

pkg:composer/roave/psalm-html-output

Statistics

Installs: 339 300

Dependents: 1

Suggesters: 0

Stars: 23

Open Issues: 7

1.2.0 2025-11-24 15:40 UTC

Requires

None

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT feb17e76fa16e596bb57cca35dfa1dfd45ba17d8

  • James Titcumb <james.woop@asgrim.com>

README

Takes the XML output from Psalm and renders it as HTML.

👁 Build

Installation

First, install xsltproc on your machine (for example, apt install xsltproc).

Then composer require --dev roave/psalm-html-output

Usage

vendor/bin/psalm --output-format=xml | xsltproc vendor/roave/psalm-html-output/psalm-html-output.xsl - > psalm-report.html

Run with Docker

To avoid having to install xsltproc if you already have Docker, first build the image with:

docker build . -t psalm-html-output:latest

Then to generate the HTML:

vendor/bin/psalm --output-format=xml | docker run --rm -i psalm-html-output:latest > psalm-report.html