# ESLint vs PHPStan

**Leader by vioscaleAI score:** ESLint

| Attribute | ESLint | PHPStan |
|---|---|---|
| **vioscaleAI score** | 76 (78% (high)) | 58 (54% (medium)) |
| activity.commits_last_30d | 44 | 100 |
| adoption.dependent_repos | 1,569,244 | 2 |
| adoption.github_stars | 27,559 | 14,128 |
| adoption.package_downloads_weekly | 158,743,826 | - |
| content.faq | `[{"answer":"An open-source linter and fixer for JavaScript and JSX that runs locally in editors and CI pipelines. It uses AST analysis to catch problems and can automatically fix many issues, with full support for custom rules and extensibility. It is indexed under Code Quality Tools.","source":"https://eslint.org","question":"What is ESLint?","confidence":0.6},{"answer":"ESLint is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://eslint.org","question":"Is ESLint free to use?","confidence":0.6},{"answer":"ESLint supports a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://eslint.org","question":"What platforms does ESLint support?","confidence":0.6},{"answer":"Yes. ESLint can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://eslint.org","question":"Can ESLint be self-hosted?","confidence":0.6},{"answer":"Yes. ESLint 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/eslint/eslint","question":"Is ESLint open source?","confidence":0.99}]` | `[{"answer":"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/","question":"What is PHPStan?","confidence":0.6},{"answer":"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/","question":"Is PHPStan free to use?","confidence":0.6},{"answer":"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/","question":"What platforms does PHPStan support?","confidence":0.6},{"answer":"Yes. PHPStan can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://phpstan.org/","question":"Can PHPStan be self-hosted?","confidence":0.6},{"answer":"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/","question":"What does PHPStan integrate with?","confidence":0.6},{"answer":"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","question":"What security certifications does PHPStan have?","confidence":0.7},{"answer":"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","question":"Is PHPStan open source?","confidence":0.95},{"answer":"PHPStan is available worldwide. The vendor is headquartered in the Czechia.","source":"https://phpstan.org/","question":"Where is PHPStan available?","confidence":0.75}]` |
| deployment.options | `{"self_hosted":true}` | `{"cloud":true,"self_hosted":true}` |
| description.long | Open-source linter that uses abstract syntax tree analysis to detect JavaScript code issues and apply syntax-aware fixes, with extensive customization through custom rules and parsers. | 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. |
| features.capabilities | `{"autofix":true,"function":"linter_formatter","ci_gating":true,"deployment":"cli_local","open_source":"oss","config_model":"config_file","custom_rules":true,"impl_language":"JavaScript","pricing_model":"free","language_scope":"single_language","editor_integration":true}` | `{"autofix":false,"function":"static_analyzer","ci_gating":true,"deployment":"both","incremental":true,"open_source":"oss","config_model":"config_file","custom_rules":true,"impl_language":"PHP","pricing_model":"free","language_scope":"single_language","editor_integration":true}` |
| integrations.count | 2 | 3 |
| integrations.list | `[{"name":"eslint-plugin-react"},{"name":"eslint-plugin-unicorn"}]` | `[{"name":"Symfony"},{"name":"Laravel"},{"name":"Doctrine"}]` |
| language.primary | JavaScript | PHP |
| license.spdx | MIT | MIT |
| market.availability | - | `{"hqCountry":"CZ","primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true}` | `{"cli":true,"web":true}` |
| pricing | `{"type":"open_source","plans":[{"free":true,"name":"Open Source","features":["Find issues in JavaScript code","Automatically fix problems","Custom parsers","Custom rules","Text editor integration","CI pipeline integration"],"description":"Free open source linter","contactSales":false}],"summary":"Free open source","freeTier":true,"sourceUrl":"https://eslint.org","retrievedAt":"2026-08-05T14:08:29.561Z"}` | `{"type":"hybrid","plans":[{"free":true,"name":"Open Source","summary":"Free","features":["Static code analysis","Bug detection","Type checking"],"components":[{"kind":"fixed","amount":0,"period":"month","currency":"EUR"}],"description":"Full static analysis tool","contactSales":false},{"free":false,"name":"Individual Pro","summary":"7 EUR/month","features":["Web UI for browsing errors","Continuous analysis (watch mode)","Editor integration"],"minSeats":1,"components":[{"kind":"fixed","amount":7,"period":"month","currency":"EUR"}],"description":"Web UI, continuous analysis, editor integration","contactSales":false},{"free":false,"name":"Team Pro","summary":"70 EUR/month (up to 25 members)","features":["Web UI for browsing errors","Continuous analysis (watch mode)","Editor integration"],"minSeats":2,"components":[{"kind":"fixed","amount":70,"period":"month","currency":"EUR"}],"description":"Web UI, continuous analysis, editor integration for up to 25 members","contactSales":false,"includedLimits":{"team_members":"up to 25"}}],"summary":"Free open-source, or 7 EUR/month (individual) / 70 EUR/month (team up to 25 members) for Pro features. 30-day free trial.","currency":"EUR","freeTier":true,"sourceUrl":"https://phpstan.org/","retrievedAt":"2026-10-13T13:55:49.311Z","freeTrialDays":30,"startingPrice":{"amount":7,"period":"month","currency":"EUR"},"billingPeriods":["month"]}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | freemium |
| pricing.price_level | free | low |
| pricing.starting_price | - | `{"amount":7,"currency":"EUR"}` |
| pricing.transparent | - | yes |
| release.cadence_days | 13 | 3 |
| release.history | `[{"url":"https://github.com/eslint/eslint/releases/tag/v10.12.0","date":"2026-10-02T20:07:11Z","type":"stable","version":"v10.12.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.11.0","date":"2026-09-18T20:13:06Z","type":"stable","version":"v10.11.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.10.0","date":"2026-09-04T14:30:17Z","type":"stable","version":"v10.10.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.9.1","date":"2026-08-24T18:18:59Z","type":"stable","version":"v10.9.1"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.9.0","date":"2026-08-21T13:05:50Z","type":"stable","version":"v10.9.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.8.1","date":"2026-08-07T20:16:24Z","type":"stable","version":"v10.8.1"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.8.0","date":"2026-07-24T20:15:28Z","type":"stable","version":"v10.8.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.7.0","date":"2026-07-10T21:22:56Z","type":"stable","version":"v10.7.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v9.39.5","date":"2026-07-10T20:41:58Z","type":"stable","version":"v9.39.5"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.6.0","date":"2026-06-26T20:09:26Z","type":"stable","version":"v10.6.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.5.0","date":"2026-06-12T17:54:47Z","type":"stable","version":"v10.5.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.4.1","date":"2026-05-29T20:32:39Z","type":"stable","version":"v10.4.1"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.4.0","date":"2026-05-15T14:11:22Z","type":"stable","version":"v10.4.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.3.0","date":"2026-05-01T15:39:48Z","type":"stable","version":"v10.3.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.2.1","date":"2026-04-17T20:17:51Z","type":"stable","version":"v10.2.1"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.2.0","date":"2026-04-03T20:36:28Z","type":"stable","version":"v10.2.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.1.0","date":"2026-03-20T15:31:47Z","type":"stable","version":"v10.1.0"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.0.3","date":"2026-03-06T22:53:26Z","type":"stable","version":"v10.0.3"},{"url":"https://github.com/eslint/eslint/releases/tag/v9.39.4","date":"2026-03-06T21:46:54Z","type":"stable","version":"v9.39.4"},{"url":"https://github.com/eslint/eslint/releases/tag/v10.0.2","date":"2026-02-23T21:43:46Z","type":"stable","version":"v10.0.2"}]` | `[{"url":"https://github.com/phpstan/phpstan/releases/tag/2.3.1","date":"2026-10-08T21:10:31Z","type":"stable","version":"2.3.1"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.3.0","date":"2026-10-06T06:33:58Z","type":"stable","version":"2.3.0"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.17","date":"2026-10-04T19:49:48Z","type":"stable","version":"2.2.17"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.16","date":"2026-09-25T09:33:15Z","type":"stable","version":"2.2.16"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.15","date":"2026-09-23T12:38:12Z","type":"stable","version":"2.2.15"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.14","date":"2026-09-12T21:41:33Z","type":"stable","version":"2.2.14"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.13","date":"2026-09-03T20:40:15Z","type":"stable","version":"2.2.13"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.12","date":"2026-08-31T19:12:49Z","type":"stable","version":"2.2.12"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.11","date":"2026-08-31T10:34:20Z","type":"stable","version":"2.2.11"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.10","date":"2026-08-30T12:47:33Z","type":"stable","version":"2.2.10"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.9","date":"2026-08-22T07:39:37Z","type":"stable","version":"2.2.9"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.8","date":"2026-08-04T22:23:06Z","type":"stable","version":"2.2.8"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.7","date":"2026-07-29T17:40:47Z","type":"stable","version":"2.2.7"},{"url":"https://github.com/phpstan/phpstan/releases/tag/1.12.34","date":"2026-07-28T10:05:36Z","type":"stable","version":"1.12.34"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.6","date":"2026-07-26T21:24:15Z","type":"stable","version":"2.2.6"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.5","date":"2026-07-05T06:33:25Z","type":"stable","version":"2.2.5"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.4","date":"2026-07-03T07:01:31Z","type":"stable","version":"2.2.4"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.3","date":"2026-06-30T21:16:38Z","type":"stable","version":"2.2.3"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.2","date":"2026-06-05T09:01:35Z","type":"stable","version":"2.2.2"},{"url":"https://github.com/phpstan/phpstan/releases/tag/2.2.1","date":"2026-05-28T14:45:45Z","type":"stable","version":"2.2.1"}]` |
| security.gdpr | - | yes |
| security.scorecard | 6.6 | 5 |
| security.vulnerabilities | `{"count":2,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=eslint&per_page=100","last_12m":1,"max_severity":"MODERATE"}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=homebrew&package_name=phpstan&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Code Quality Tools)

| Capability | ESLint | PHPStan |
|---|:--:|:--:|
| **Core** |  |  |
| Function | Linter + formatter | Static analyzer |
| Language scope | Single-language | Single-language |
| Implementation language | JavaScript | PHP |
| **Capability** |  |  |
| Autofix | ✓ | ✗ |
| **Config** |  |  |
| Config model | Config file | Config file |
| **Extensibility** |  |  |
| Custom rules | ✓ | ✓ |
| **Deployment** |  |  |
| Deployment | CLI-local | Both |
| **Delivery** |  |  |
| Editor integration | ✓ | ✓ |
| CI / VCS gating | ✓ | ✓ |
| **Insight** |  |  |
| Code metrics | - | - |
| **Performance** |  |  |
| Incremental / monorepo aware | - | ✓ |
| **Licensing** |  |  |
| Open-source | OSS | OSS |
| **Commercial** |  |  |
| Pricing model | Free | Free |

*Source: vioscaleAI. Generated 2026-10-16T18:58:01.077Z. "-" = undocumented, not absent.*
