Comparison

pre-commit vs Psalm

No clear leader: pre-commit (66.1) and Psalm (63.7) are within the 5-point margin; treat as a tie. The attribute-by-attribute breakdown below, with a source and date on every value, is the honest way to compare them.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
pre-commit66
Psalm64
Score
vioscaleAI score
pre-commit66 / 100medium · 70%
Psalm64 / 100low · 42%
Pricing
Free tier
pre-commit✓
Psalm✓
Model
pre-commitcommercial
Price level
pre-commitfree
Psalmfree
Transparent
pre-commit✓
Psalm✓
Reliability
Status page
pre-commit✓
Psalm–
Adoption
Dependent repos
pre-commit35,684
Psalm15,920
Github stars
pre-commit15,626
Psalm5,896
Package downloads weekly
pre-commit33,971,661
Psalm–
Activity
Commits last 30d
pre-commit16
Psalm100
Release
Cadence days
pre-commit57
Psalm1
History
pre-commit20 items
License
Spdx
pre-commitMIT
PsalmMIT
Language
Primary
pre-commitPython
PsalmPHP
Content
Faq
pre-commit5 items
Psalm5 items

Capabilities

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

Core
Function
pre-commitMeta-runner
PsalmStatic analyzer
Language scope
pre-commitMulti-language
PsalmSingle-language
Implementation language
pre-commitPython
PsalmPHP
Capability
Autofix
pre-commit✗
Psalm✓
Config
Config model
pre-commitConfig file
PsalmConfig file
Extensibility
Custom rules
pre-commit✓
Psalm✓
Deployment
Deployment
pre-commitCLI-local
PsalmCLI-local
Delivery
Editor integration
pre-commit✗
Psalm✓
CI / VCS gating
pre-commit✓
Psalm✓
Insight
Code metrics
pre-commit✗
Psalm✓
Performance
Incremental / monorepo aware
pre-commit✗
Psalm-
Licensing
Open-source
pre-commitOSS
PsalmOSS
Commercial
Pricing model
pre-commitFree
PsalmFree

What each one is

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

pre-commit

Manages Git pre-commit hooks written in various languages, automatically running code checks to detect issues like missing semicolons, trailing whitespace, and debug statements before code review.

Independently observed

Psalm

Psalm scans PHP codebases to discover potential problems and includes Psalter, a tool for automatically fixing identified issues with configurable safety measures and PHP version targeting.

Independently observed

Pricing

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

pre-commit

Free
as of verify ↗

Psalm

Open sourceFree tier

Free and open-source. Optional paid support contracts available.

  • Open SourceFree
as of verify ↗

Platform & deployment

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

Platforms
macOS
pre-commit✓
Psalm✗
Windows
pre-commit✓
Psalm✗
Linux
pre-commit✓
Psalm✗
CLI
pre-commit✓
Psalm✓
Deployment
Self-hosted
pre-commit✓
Psalm✓
Still deciding?

pre-commit or Psalm: 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.