phpstan / phpstan
git clone https://github.com/phpstan/phpstan.git
2.3.4 · 1mo ago
Static analysis tool for PHP that finds bugs in code without executing it.
Why you might care
Catches whole classes of errors before tests are written, checking each line's correctness statically. Configurable rule levels and an extension system let teams tighten checks over time; a paid PHPStan Pro add-on adds a web UI and watch mode.
+2
stars, 24h · #13,537
+9
stars, 7 days · #20,388
+32
stars, 30 days · #27,797
14k
★ total · +0% this week
971
forks · 1.0k open issues
Star history (as recorded here)
LanguagePHP
LicenseMIT
Created2016-01-04 (10y ago)
Last pushtoday
Watchers155
OwnerOrganization
Seen on GitHub Trending
- 2026-11-07 — #19 daily in php · +5 ★
- 2026-10-31 — #20 daily in php · +5 ★
GitHub topics
Links
- GitHub: github.com/phpstan/phpstan
- Homepage: https://phpstan.org/
- Releases · Issues · Hacker News mentions
README
Loading README…
Blurb generated by claude-haiku-5-5 1mo ago. Star deltas marked ~ are extrapolated from partial history.