PHPStan
A static analysis tool that identifies PHP code errors without executing the code
- Also known as
- phpstan
Available worldwide
What is PHPStan?
A static analyzer for PHP that detects potential bugs and type issues through code analysis before the code is executed, helping developers find errors early in development.
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 version; PHPStan Pro from 7 EUR/month (individuals) or 70 EUR/month (teams up to 25 members)
Individuals
Teams
Up to 25 members
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
- PHP
- Autofix
- ✗
- Config model
- Config file
- 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
- macOS
- Web
- Linux
- Windows
- Cloud / SaaS
- Self-hosted
Integrations (3)
Independently observed- Symfony
- Laravel
- Doctrine
Security & compliance
Known vulnerabilities: 0 (0 in the last 12 months) sourcea count reflects scale & disclosure, not quality
PHPStan FAQ
Common questions about PHPStan, answered from independent, dated evidence.
What is PHPStan?
PHPStan is a static analysis tool for PHP that scans codebases to find bugs before they reach production. It offers both a free open-source version and a paid Pro tier with a web UI and continuous background analysis. It is indexed under Code Quality Tools.
Source: https://phpstan.org/
Is PHPStan free to use?
PHPStan is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Paid editions are also offered: PHPStan Pro, priced on request. Pricing changes often, so verify at source before relying on it.
Source: https://phpstan.org/
What platforms does PHPStan support?
PHPStan supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.
Source: https://phpstan.org/
Can PHPStan be self-hosted?
Yes. PHPStan can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.
Source: https://phpstan.org/
What does PHPStan integrate with?
We have confirmed 3 integrations for PHPStan, including Symfony, Laravel and Doctrine. This is what we could verify from public sources, so the vendor may support others we have not indexed.
Source: https://phpstan.org/
What security certifications does PHPStan have?
We have independently confirmed GDPR for PHPStan. Certifications we do not list are ones we have not been able to verify from public sources, which is not the same as PHPStan not holding them. Always confirm compliance directly before you rely on it.
Is PHPStan open source?
Yes. PHPStan is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.
Where is PHPStan available?
PHPStan is available worldwide. The vendor is headquartered in the Czechia.
Source: https://phpstan.org/
PHPStan alternatives
Other code quality tools we track, ranked by the same independent score.
- PrettierA code formatter that automatically enforces consistent style across projectshigh · 79%
- StyleLintA tool for checking CSS code for errors and style inconsistenciesmedium · 72%
- ESLintStatic analysis tool that identifies and fixes issues in JavaScript codehigh · 78%
- Ruffmedium · 68%
- BlackAn opinionated Python code formatter that automatically reformats code to a consistent stylehigh · 79%
- BiomeA unified code formatter and linter for web developmentmedium · 67%
Compare PHPStan
Side by side against other code quality tools, attribute by attribute, with a source on every value.
The vioscaleAI 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 |
|---|---|---|---|---|
| Development activity | 63 | 0.12 | 7.6 | ✓ |
| Capabilities | 67 | 0.10 | 6.7 | ✓ |
| Release cadence | 99 | 0.07 | 6.6 | ✓ |
| Pricing transparency | 100 | 0.05 | 5.3 | ✓ |
| Price level | 80 | 0.04 | 3.2 | ✓ |
| Stars | 78 | 0.03 | 2.6 | ✓ |
| Security score | 49 | 0.05 | 2.6 | ✓ |
| Integrations | 17 | 0.05 | 0.9 | ✓ |
| Reliability | 0 | 0.05 | 0.0 | - |
| Dependent projects | 0 | 0.08 | 0.0 | ✓ |
| Security posture | 5 | 0.09 | 0.0 | - |
| Package downloads | 0 | 0.17 | 0.0 | - |
| Developer Q&A activity | 0 | 0.08 | 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-09-10 · 65% |
Adoption
Content
| Attribute | Value | Evidence |
|---|---|---|
| Faq | 8 items | mediumsource · 2026-09-10 · 68% |
Features
| Attribute | Value | Evidence |
|---|---|---|
| Capabilities | Autofix: No · Function: static_analyzer · Ci gating: Yes · Deployment: both · Incremental: Yes · Open source: oss | mediumsource · 2026-09-10 · 60% |
Integrations
| Attribute | Value | Evidence |
|---|---|---|
| Count | 3 | mediumsource · 2026-08-14 · 60% |
Language
| Attribute | Value | Evidence |
|---|---|---|
| Primary | PHP | highsource · 2026-09-10 · 90% |
License
| Attribute | Value | Evidence |
|---|---|---|
| Spdx | MIT | highsource · 2026-09-10 · 95% |
Market
| Attribute | Value | Evidence |
|---|---|---|
| Availability | HqCountry: CZ · PrimaryMarkets: … · AvailabilityScope: global · AvailableCountries: … · NotAvailableCountries: … | highsource · 2026-08-14 · 75% |
Pricing
Release
Security
Is PHPStan the right choice for you?
Tell us the job, the constraints and what you weigh most, and we will rank PHPStan against the rest of the code quality tools we index, using the same dated evidence weighted your way.
Free to run, no account needed to start. How the evaluation works
Is this your product?
This profile was built from public sources without asking you. You can take the badge below and use it anywhere, and you can claim the profile to correct anything we got wrong. Both are free, and neither moves PHPStan up or down: nobody can buy rank here, including you.
Take the badge
Live, always current, and free to use on your own site. It shows PHPStan's independent score and links back to this profile.
<a href="https://www.vioscale.ai/software/phpstan" target="_blank" rel="noopener">
<img src="https://www.vioscale.ai/badge/software/phpstan.svg" alt="PHPStan, verified on vioscaleAI" width="330" height="76" loading="lazy" />
</a>Markdown, for a README →
[](https://www.vioscale.ai/software/phpstan)Claim the profile
Verify you control the domain and you can correct the facts, add the sources we should be reading, and see how AI assistants are describing PHPStan. Free, and it does not change the score.
- Correct anything wrong, with evidence
- Point our crawler at the pages that matter
- See which AI systems are reading this profile
Not the owner? How vendor profiles work