Libraries tagged by code analysis
scheb/tombstone
696614 Downloads
Dead code detection with tombstones for PHP
php-stubs/generator
450882 Downloads
Generate stubs from any PHP code for IDE completion and static analysis.
yamadashy/phpstan-friendly-formatter
1874175 Downloads
Simple error formatter for PHPStan that display code frame
weirdan/doctrine-psalm-plugin
7828746 Downloads
Stubs to let Psalm understand Doctrine better
staabm/phpstan-dba
2901696 Downloads
PHPStan based SQL static analysis and type inference for the database access layer
laraveldaily/filacheck
238098 Downloads
Static analysis for Filament projects - detect deprecated patterns and code issues
heyosseus/sloppy
56940 Downloads
Static analysis for the debt AI coding agents leave behind, on any PHP project: 33 rules, architecture policies and module boundaries you describe, git-diff review, coverage-aware reading order, PHPStan baseline-growth detection, a Rector and Pint fix pass, Pest expectations, CI annotations, agent rulesets, Claude Code hooks and an MCP server. Runs inside PHPStan through the separate heyosseus/phpstan-sloppy extension. Extra rules and dashboards for Laravel. Deterministic, local, no LLM.
tomasvotruba/unused-public
4068179 Downloads
Detect unused public properties, constants and methods in your code
helmich/typo3-typoscript-lint
3418184 Downloads
Static code analysis for the TypoScript configuration language.
nunomaduro/laravel-code-analyse
1877 Downloads
Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel
spiral/code-style
564821 Downloads
Code style and static analysis tools rulesets collection
staabm/phpstan-baseline-analysis
155968 Downloads
spryker/code-sniffer
4477418 Downloads
Spryker Code Sniffer Standards
php-collective/code-sniffer
503112 Downloads
PhpCollective Code Sniffer Standards
php-code-archeology/php-code-archeology
39717 Downloads
Static analyzer for PHP project archeology. Calculates various metrics for your codebase.