Comparison

PHPStan vs StyleLint

On the evidence we track, StyleLint leads this comparison with a composite score of 79/100. Scores are only directly comparable because these tools share a category; the full breakdown and every source is below.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
PHPStan59
★StyleLint79
Score
vioscaleAI score
PHPStan59 / 100medium · 54%
StyleLint79 / 100medium · 71%
Pricing
Free tier
PHPStan✓
StyleLint✓
Model
PHPStanfreemium
StyleLintopen_source
Price level
PHPStanlow
StyleLintfree
Starting price
PHPStan€7
StyleLint–
Transparent
PHPStan✓
StyleLint✓
Integrations
Count
PHPStan3
StyleLint–
Adoption
Dependent repos
PHPStan2
StyleLint200,392
Github stars
PHPStan14,172
StyleLint11,560
Package downloads weekly
PHPStan–
StyleLint14,644,568
Activity
Commits last 30d
PHPStan100
StyleLint54
Release
Cadence days
PHPStan3
StyleLint12
History
PHPStan20 items
StyleLint20 items
License
Spdx
PHPStanMIT
StyleLintMIT
Language
Primary
PHPStanPHP
StyleLintJavaScript
Market
Availability
StyleLint–
Content
Faq
PHPStan8 items
StyleLint5 items

Capabilities

Feature-by-feature on the axes that matter for code quality tools. “-” means undocumented, not absent.

Core
Function
PHPStanStatic analyzer
StyleLintLinter + formatter
Language scope
PHPStanSingle-language
StyleLintSingle-language
Implementation language
PHPStanPHP
StyleLintJavaScript
Capability
Autofix
PHPStan✓
StyleLint✓
Config
Config model
PHPStanConfig file
StyleLintConfig file
Extensibility
Custom rules
PHPStan✓
StyleLint✓
Deployment
Deployment
PHPStanBoth
StyleLintCLI-local
Delivery
Editor integration
PHPStan✓
StyleLint✓
CI / VCS gating
PHPStan✓
StyleLint✓
Insight
Code metrics
PHPStan-
StyleLint✓
Performance
Incremental / monorepo aware
PHPStan✓
StyleLint✓
Licensing
Open-source
PHPStanOSS
StyleLintOSS
Commercial
Pricing model
PHPStanFree
StyleLintFree

What each one is

The product in its own terms, so the numbers below have context.

PHPStan

PHPStan performs static analysis of PHP codebases to detect errors without code execution. It supports gradual adoption through configurable rule levels and includes a free open-source version plus optional paid premium features with a web interface.

Independently observed

StyleLint

Leader

A CSS linter that validates stylesheets against built-in and custom rules to ensure error-free and consistent code, with automatic fixing capabilities and support for CSS-like languages.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

PHPStan

from €7/moHybridFree tier30-day trial

Free open-source base; Pro at 7 EUR/month (individual) or 70 EUR/month (teams up to 25 members) with 30-day trial

  • PHPStan (Open Source)Free
    • Command-line interface
    • Configurable analysis levels 0-10
    • Baseline support for legacy code adoption
    • Docker support
    • Custom rule development
    • +1 more
  • PHPStan Pro - Individual7 EUR/month
    • Web UI for error browsing
    • Editor integration
    • Continuous analysis with watch mode
    • Automatic UI refresh
  • PHPStan Pro - Team70 EUR/month (up to 25 members)
    • Web UI for error browsing
    • Editor integration
    • Continuous analysis with watch mode
    • Automatic UI refresh
    • Up to 25 team members
as of verify ↗

StyleLint

Leader
Open sourceFree tier
as of verify ↗

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
CLI
PHPStan✓
StyleLint✓
Deployment
Self-hosted
PHPStan✓
StyleLint✓
On-premise
PHPStan✓
StyleLint✗

Integrations

What each product connects to. Counts come from the vendor's own integration directory where one exists.

PHPStan

3 total
  • Symfony
  • Laravel
  • Doctrine
Independently observed

StyleLint

Leader

Not documented yet.

Still deciding?

PHPStan or StyleLint: which one depends on you

A composite score cannot know your constraints. Describe them and both get re-weighted against what you actually need, with the evidence behind every position.

Free to run, no account needed to start. How the evaluation works

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.