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.7 | 7.25.1 |
| Last push | 2026-12-03 | 2026-12-03 |
| Release cadence | about 5 days between releases | about 1 day between releases |
| Active contributors | 5+ commit authors on the default branch in the last 90 days | 14+ 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.25.12026-12-03Check the whole project in the codebase of the MCP server
- 7.25.02026-12-03Add an MCP server, and make the agent skill a Claude Code plugin
- 7.24.12026-11-30fix(types): an addition or subtraction with an unbounded side may overflow to a float
- 7.24.02026-11-29Templates intersected with array shapes: T&array{id: int} is the type the template takes, with the keys of the shape ad…
- 7.23.02026-11-28Unions of sealed array shapes stay apart: Psalm keeps array{type: "card", last4: string}|array{type: "bank", iban: stri…
PHPStan
unsigned The latest release, 2.3.7, carries no signature GitHub could verify.
Loading the security report
Psalm
unsigned The latest release, 7.25.1, carries no signature GitHub could verify.
Loading the security report