What is PHPStan?
Open-source static analyzer for PHP that scans codebases to find bugs without requiring tests. Runs locally on your machine or in CI/CD pipelines.
PHPStan pricing
Plans, per-tier features and add-ons, dated and linked to live pricing. Pricing changes often; always verify at source before you rely on it.
Free open-source base product; PHPStan Pro subscription available
Open Source
FreeFree, open-source PHP static analyzer
PHPStan Pro
Premium package with web UI, auto-refresh, and continuous background analysis
What PHPStan does
The capabilities that matter for code quality tools, normalised so it lines up with every alternative. “-” means we haven't confirmed it, not that it's missing.
- Function
- Static analyzer
- Language scope
- Single-language
- Implementation language
- -
- Autofix
- ✗
- Config model
- Rule packs
- Custom rules
- -
- Deployment
- Both
- Editor integration
- -
- CI / VCS gating
- ✓
- Code metrics
- -
- Incremental / monorepo aware
- -
- Open-source
- OSS
- Pricing model
- Free
Platform & deployment
Independently observed- CLI
- Web
Integrations (3)
Independently observed- Symfony
- Laravel
- Doctrine
PHPStan alternatives
Other code quality tools we track, ranked by the same independent score.
The Vioscale score: one lens on the evidence
Not user reviews and not a paid placement: a confidence-weighted blend of the independent signals below (adoption, activity, security posture, and more), which you can sort and re-weight yourself. Vendors can correct their listing but can never move their rank, and stars are weighted low as a vanity metric. It is one way to read the evidence for PHPStan, not the verdict.
| Signal | Score | Weight | Contribution | Evidence |
|---|---|---|---|---|
| Github Activity | 63 | 18.00 | 1135.8 | ✓ |
| Release Cadence | 99 | 10.00 | 988.9 | ✓ |
| Capabilities | 29 | 16.00 | 462.5 | ✓ |
| Github Stars | 78 | 5.00 | 391.2 | ✓ |
| Integrations | 17 | 8.00 | 138.5 | ✓ |
| Security Posture | 0 | 13.00 | 0.0 | - |
| Package Downloads | 0 | 26.00 | 0.0 | - |
| Stackoverflow Activity | 0 | 12.00 | 0.0 | - |
Computed . Re-weight it by intent, or see the full method.
All data & sourcesshow ↓
Every value we hold, with its source, retrieval date, and confidence. This is the evidence behind the score: don't trust it, verify it.
Activity
| Attribute | Value | Evidence |
|---|---|---|
| Commits last 30d | 100 | mediumsource · 2026-08-03 · 65% |
Adoption
| Attribute | Value | Evidence |
|---|---|---|
| Github stars | 14,054 | highsource · 2026-08-03 · 90% |
Features
| Attribute | Value | Evidence |
|---|---|---|
| Capabilities | {"autofix":false,"function":"static_analyzer","ci_gating":true,"deployment":"both","open_source":"oss","config_model":"rule_packs","pricing_model":"free","language_scope":"single_language"} | mediumsource · 2026-08-03 · 60% |
Integrations
| Attribute | Value | Evidence |
|---|---|---|
| Count | 3 | mediumsource · 2026-08-03 · 60% |
Language
| Attribute | Value | Evidence |
|---|---|---|
| Primary | PHP | highsource · 2026-08-03 · 90% |
License
| Attribute | Value | Evidence |
|---|---|---|
| Spdx | MIT | highsource · 2026-08-03 · 95% |
Pricing
Release
| Attribute | Value | Evidence |
|---|---|---|
| Cadence days | 2 | mediumsource · 2026-08-03 · 70% |