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.

Independently observed

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.

Pricing as of verify at live pricing ↗Independently observed
from €7/moHybridFree tier30-day trial

Free open-source version; PHPStan Pro from 7 EUR/month (individuals) or 70 EUR/month (teams up to 25 members)

Individuals

€7/mo
monthly

Teams

€70/mo
monthly · min 25 seats

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.

Core
Function
Static analyzer
Language scope
Single-language
Implementation language
PHP
Capability
Autofix
Config
Config model
Config file
Extensibility
Custom rules
Deployment
Deployment
Both
Delivery
Editor integration
CI / VCS gating
Insight
Code metrics
-
Performance
Incremental / monorepo aware
Licensing
Open-source
OSS
Commercial
Pricing model
Free
Independently observed

Platform & deployment

Independently observed
Platforms
  • CLI
  • macOS
  • Web
  • Linux
  • Windows
Deployment
  • 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.

Source: https://phpstan.org/merch-privacy-policy

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.

Source: https://github.com/phpstan/phpstan

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.

All PHPStan alternatives, ranked →

Compare PHPStan

Side by side against other code quality tools, attribute by attribute, with a source on every value.

Independent · unbought · dated

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.

Balanced composite 57 / 100
medium · 54%
Signal contributions to the composite score
SignalScoreWeightContributionEvidence
Development activity630.127.6
Capabilities670.106.7
Release cadence990.076.6
Pricing transparency1000.055.3
Price level800.043.2
Stars780.032.6
Security score490.052.6
Integrations170.050.9
Reliability00.050.0-
Dependent projects00.080.0
Security posture50.090.0-
Package downloads00.170.0-
Developer Q&A activity00.080.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

AttributeValueEvidence
Commits last 30d100mediumsource · 2026-09-10 · 65%

Adoption

AttributeValueEvidence
Github stars14,100highsource · 2026-09-10 · 90%
Dependent repos0highsource · 2026-09-10 · 85%

Content

AttributeValueEvidence
Faq8 itemsmediumsource · 2026-09-10 · 68%

Features

AttributeValueEvidence
CapabilitiesAutofix: No · Function: static_analyzer · Ci gating: Yes · Deployment: both · Incremental: Yes · Open source: ossmediumsource · 2026-09-10 · 60%

Integrations

AttributeValueEvidence
Count3mediumsource · 2026-08-14 · 60%

Language

AttributeValueEvidence
PrimaryPHPhighsource · 2026-09-10 · 90%

License

AttributeValueEvidence
SpdxMIThighsource · 2026-09-10 · 95%

Market

AttributeValueEvidence
AvailabilityHqCountry: CZ · PrimaryMarkets: … · AvailabilityScope: global · AvailableCountries: … · NotAvailableCountries: …highsource · 2026-08-14 · 75%

Pricing

AttributeValueEvidence
Free tierYesmediumsource · 2026-09-10 · 60%
Modelfreemiummediumsource · 2026-09-10 · 60%
Price levellowmediumsource · 2026-09-10 · 60%
TransparentYesmediumsource · 2026-09-10 · 60%
Starting priceAmount: 7 · Currency: EURmediumsource · 2026-09-10 · 60%

Release

AttributeValueEvidence
Cadence days2mediumsource · 2026-09-10 · 70%
History20 itemsmediumsource · 2026-09-10 · 70%

Security

AttributeValueEvidence
GdprYeshighsource · 2026-08-14 · 75%
Scorecard4.9highsource · 2026-09-10 · 90%
VulnerabilitiesCount: 0 · Source: https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=nixpkgs&package_name=php83Packages.phpstan&per_page=100 · Last 12m: 0highsource · 2026-09-10 · 90%
Still deciding?

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

For the makers of PHPStan

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.

PHPStan, verified on vioscaleAI
HTML
<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 →
Markdown
[![PHPStan, verified on vioscaleAI](https://www.vioscale.ai/badge/software/phpstan.svg)](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
Claim PHPStan

Not the owner? How vendor profiles work