compare
PHPStan vs Psalm
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | PHPStan | Psalm |
|---|---|---|
| Language | PHP | PHP |
| Licence | MIT | MIT |
| Stars | 14k | 5.9k |
| Latest | 2.3.1 | 6.20.0 |
| Last push | 2026-10-18 | 2026-10-17 |
| Release cadence | about 2 days between releases | too few releases |
| Active contributors | 13+ commit authors on the default branch in the last 90 days | 5+ commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
PHPStan replaces Psalm. Alternatives to Psalm →
Full replacementStatic analysis for PHP with levels, baselines and a plugin ecosystem.
Psalm replaces PHPStan. Alternatives to PHPStan →
Full replacementStatic analysis for PHP with taint analysis and error levels.
PHPStan
Psalm
- 7.0.0-rc22026-10-09Support generic exception classes in @throwspre-release
- 6.20.02026-10-09[6.x] Add generic stubs for the PHP 8.4 Dom\ API
- 6.19.22026-10-07[6.x] Report string increments as deprecated since PHP 8.5 (backport)
- 7.0.0-rc12026-10-05Taint what functions and builtins leave in by-reference parameterspre-release
- 7.0.0-beta242026-10-02Purity and taint fixes: getters, explicit/overridden annotations, defaults, void templates, ext stubs, socket builtinspre-release
PHPStan
unsigned The latest release, 2.3.1, carries no signature GitHub could verify.
Loading the security report
Psalm
✓ signed The latest release, 6.20.0, carries a signature GitHub verified.
Loading the security report