Comparison

Prettier vs Psalm

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

Machine formatsJSONMarkdownGraphQLor send Accept: application/json
Attribute comparison across 2 tools
Attribute76Prettier81PsalmLeader
Vioscale score76 / 100low · 44%81 / 100low · 14%
Commits last 30d100-
Github stars52,1635,875
Package downloads weekly117,427,495-
Options{"cloud":true,"self_hosted":true}{"self_hosted":true}
LongA code formatter that removes original styling and reprints code to conform to a consistent style, supporting multiple programming languages and integrating with most editors.A free and open-source static analysis tool for PHP that identifies type-related bugs and security vulnerabilities in code, with automatic fixing capabilities.
Capabilities{"autofix":true,"function":"formatter","open_source":"oss","config_model":"zero_config","pricing_model":"free","language_scope":"multi_language","editor_integration":true}{"autofix":true,"function":"static_analyzer","ci_gating":true,"deployment":"cli_local","open_source":"oss","config_model":"config_file","custom_rules":true,"pricing_model":"free","language_scope":"single_language","editor_integration":true}
Count7-
List[{"name":"Emacs"},{"name":"Nova"},{"name":"Sublime Text"},{"name":"Vim"},{"name":"Visual Studio"},{"name":"VS Code"},{"name":"WebStorm"}]-
PrimaryJavaScriptPHP
SpdxMITMIT
Support{"cli":true,"web":true}{"cli":true}
Pricing{"type":"open_source","summary":"Free and open source","freeTier":true,"sourceUrl":"https://prettier.io","retrievedAt":"2026-08-05T14:12:35.830Z"}{"type":"open_source","plans":[{"free":true,"name":"Open Source","description":"Free and open-source static analysis tool for PHP","contactSales":false}],"summary":"Free and open-source. Optional paid support contracts available.","freeTier":true,"sourceUrl":"https://psalm.dev/","retrievedAt":"2026-08-03T22:32:46.041Z"}
Free tierYesYes
Modelcommercialcommercial
Price levelfreefree
TransparentYesYes
Cadence days11

Capabilities

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

Capability comparison for Code Quality Tools
CapabilityPrettierPsalm
Core
FunctionFormatterStatic analyzer
Language scopeMulti-languageSingle-language
Implementation language--
Capability
Autofix
Config
Config modelZero-configConfig file
Extensibility
Custom rules-
Deployment
Deployment-CLI-local
Delivery
Editor integration
CI / VCS gating-
Insight
Code metrics--
Performance
Incremental / monorepo aware--
Licensing
Open-sourceOSSOSS
Commercial
Pricing modelFreeFree

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

Prettier vs Psalm: an evidence-based comparison · Vioscale