ddr1nk / phpstan-html-output-formatter
PHPStan HTML error formatter
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:Smarty
Type:phpstan-extension
pkg:composer/ddr1nk/phpstan-html-output-formatter
Requires
- php: >=8.1
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10 || ^2.0
- smarty/smarty: ^5.6
This package is auto-updated.
Last update: 2026-02-03 11:32:20 UTC
README
Minimal, dark-themed HTML error report for PHPStan.
Installation
composer require --dev ddr1nk/phpstan-html-output-formatter
Usage
Generate HTML report:
vendor/bin/phpstan analyse --error-format=html
You can also set it in your PHPStan config:
parameters: errorFormat: html
Example
The output is a single HTML document with:
- summary cards (errors, files, warnings, internal errors)
- grouped file errors
- project-level errors, warnings, and internal errors
License
MIT. See LICENSE.