PHPStan
A static analysis tool that identifies code errors without running the program
- Also known as
- phpstan
Available worldwide
What is PHPStan?
PHPStan analyzes PHP code to detect bugs and errors before execution. It enhances code reliability by catching a wide range of issues early in development, similar to type checking in compiled languages.
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, or 7 EUR/month (individual) / 70 EUR/month (team up to 25 members) for Pro features. 30-day free trial.
Open Source
FreeFull static analysis tool
- Static code analysis
- Bug detection
- Type checking
Individual Pro
Web UI, continuous analysis, editor integration
- Web UI for browsing errors
- Continuous analysis (watch mode)
- Editor integration
Team Pro
Web UI, continuous analysis, editor integration for up to 25 members
- team_members
- up to 25
- Web UI for browsing errors
- Continuous analysis (watch mode)
- Editor integration
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
- Web
- 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.
- PrettierAutomatically formats code using consistent styling ruleshigh · 78%
- StyleLintmedium · 71%
- ESLintStatic JavaScript code analyzer that identifies and automatically fixes problemshigh · 78%
- BlackAn opinionated Python code formatter that automatically enforces consistent code stylehigh · 77%
- RuffPython linter and formatter built for speedmedium · 68%
- mypyStatic type checker for Python with optional, gradual type annotationsmedium · 66%
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 | 98 | 0.07 | 6.6 | ✓ |
| Pricing transparency | 100 | 0.05 | 5.3 | ✓ |
| Price level | 80 | 0.04 | 3.2 | ✓ |
| Security score | 50 | 0.05 | 2.7 | ✓ |
| Stars | 78 | 0.03 | 2.6 | ✓ |
| Integrations | 17 | 0.05 | 0.9 | ✓ |
| Dependent projects | 8 | 0.08 | 0.6 | ✓ |
| Reliability | 0 | 0.05 | 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-10-13 · 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-10-13 · 60% |
Integrations
| Attribute | Value | Evidence |
|---|---|---|
| Count | 3 | mediumsource · 2026-08-14 · 60% |
Language
| Attribute | Value | Evidence |
|---|---|---|
| Primary | PHP | highsource · 2026-10-13 · 90% |
License
| Attribute | Value | Evidence |
|---|---|---|
| Spdx | MIT | highsource · 2026-10-13 · 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, then point us at the pages that state the facts about PHPStan and add your own description and media. Free, and it does not change the score.
- Correct anything wrong, with evidence
- Point our crawler at the pages that matter
- Write your own description and add media
Not the owner? How vendor profiles work