Skip to content
r.

phpstan

phpstan/phpstan · Public GitHub repository

PHP Static Analysis Tool - discover bugs in your code without running it!

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

phpstan live demo screenshot
Captured from the live demo · 2026-11-12

About this project

Author-written excerpt from the project README.

PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code. It moves PHP closer to compiled languages in the sense that the correctness of each line of the code can be checked before you run the actual line.

Requirements and intended audience

PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code. It moves PHP closer to compiled languages in the sense that the correctness of each line of the code can be checked before you run the actual line.

Not recorded: external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-22. Source: https://github.com/phpstan/phpstan/blob/2.3.x/README.md

Recorded maintenance information

Last recorded source update: 2026-11-04. Saved release: 2.2.17 · 2026-10-04. These dates do not guarantee ongoing maintenance.

Technologies
PHP
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-12. This does not test every feature.

Browse related categories