jbelien/phpstan-sarif-formatter
SARIF error formatter for PHPStan (1.x/2.x). Outputs analysis results as SARIF JSON for easy integration with GitHub Code Scanning and CI pipelines. Configure via phpstan.neon and run phpstan analyze --error-format=sarif.
Developer Experience (DX) & Quality Assurance (QA) Roadmap:
Build vs. Buy:
Use Cases:
Adopt if:
Look elsewhere if:
For Executives: *"This updated package now supports PHPStan 2.x, ensuring our SARIF-based static analysis workflows stay seamless as we modernize our stack. Key benefits:
For Engineering: *"We’ve updated the SARIF formatter to support PHPStan 2.x, meaning:
--error-format=sarif in PHPStan 2.x.
Blockers? Only if your team is stuck on PHPStan 1.x and can’t upgrade (unlikely). Otherwise, this is a no-brainer for SARIF adoption."*How can I help you explore Laravel packages today?