phpstan
« Back to VersTracker
Description:
PHP Static Analysis Tool
Type: Formula  |  Latest Version: 2.1.33@0  |  Tracked Since: Dec 5, 2025
Links: Homepage  |  @phpstan  |  formulae.brew.sh
Category: Developer tools
Tags: php static-analysis code-quality developer-tools linting
Install: brew install phpstan
About:
PHPStan is a static analysis tool that detects bugs and quality issues in PHP code without running it. It analyzes code paths to find type errors, undefined methods, and other potential runtime exceptions. This tool helps developers write more reliable code by enforcing strict type checking and best practices.
Key Features:
  • Detects type errors and bugs before runtime
  • Highly configurable with rule levels
  • Integrates with CI/CD pipelines
  • Supports custom rules and extensions
  • Fast incremental analysis
Use Cases:
  • Continuous integration for PHP projects
  • Code quality enforcement in teams
  • Refactoring assistance
  • Legacy codebase modernization
Alternatives:
  • Psalm – Similar static analysis capabilities with different type system approach
  • Phan – Alternative PHP static analyzer with focus on compatibility
Version History
Detected Version Rev Change Commit
Dec 5, 2025 11:23am 0 VERSION_BUMP 16156957
Nov 11, 2025 5:18pm 0 VERSION_BUMP 9e28243e
Oct 10, 2025 5:32pm 0 VERSION_BUMP 340282e3
Sep 17, 2025 11:17am 0 VERSION_BUMP 18af1f3a
Sep 12, 2025 5:48pm 0 VERSION_BUMP f49be80f
Sep 12, 2025 8:33am 0 VERSION_BUMP dcab81cd
Jan 5, 2025 4:50pm 0 VERSION_BUMP 63942e7c
Dec 31, 2024 7:37am 0 VERSION_BUMP 55da0b55
Dec 17, 2024 5:19pm 0 VERSION_BUMP d1bc73cf
Nov 11, 2024 3:47pm 0 VERSION_BUMP 32b46727
Nov 10, 2024 5:18pm 0 VERSION_BUMP aa61ac05
Nov 9, 2024 7:05pm 0 VERSION_BUMP debba15f
Oct 6, 2024 3:10pm 0 VERSION_BUMP f8ec6949
Sep 26, 2024 1:55pm 0 VERSION_BUMP 4e39f364
Sep 26, 2024 12:51pm 0 VERSION_BUMP ababcc5d
Sep 19, 2024 8:02am 0 VERSION_BUMP 2254c409
Sep 12, 2024 4:18pm 0 VERSION_BUMP 88e9385d