Bug finders
PHPStan
PHP Static Analysis Tool - discover bugs in your code without running it!
When to use it
PHP applications that need configurable type-safety checks and a broad extension ecosystem
Rule levels, baselines, and framework extensions support both gradual adoption and deep type analysis.
Installation and compatibility
- Type
- Analyzer
- PHP
- ^7.4|^8.0
- License
- MIT
- Install
- composer require --dev phpstan/phpstan
Check the project documentation for configuration and version-specific requirements.
Strengths and limitations
ProPairs mature type analysis with a large extension ecosystem.
ConHigher rule levels often need annotations and gradual adoption.
Evidence: Source 1
Editorially reviewed
Repository activity
Activity: Active. Repository activity is a separate signal from suitability for your application.
- Latest release
- 2.3.6
- Last commit
- Last release
Metadata checked: .
Explore related tools
Browse all bug finders. Tools in the same category can serve different workflows; compare their requirements and limitations.