Libraries tagged by static analysis
phpmetrics/phpmetrics
13198464 Downloads
Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !
sirbrillig/phpcs-variable-analysis
42395680 Downloads
A PHPCS sniff to detect problems with variables.
tomasvotruba/type-coverage
6017321 Downloads
Measure type coverage of your project
szepeviktor/phpstan-wordpress
5460819 Downloads
WordPress extensions for PHPStan
spaze/phpstan-disallowed-calls
15563100 Downloads
PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.
shipmonk/dead-code-detector
667111 Downloads
Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.
shipmonk/composer-dependency-analyser
3983434 Downloads
Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)
phpdocumentor/reflection
13844848 Downloads
Reflection library to do Static Analysis for PHP Projects
phpcsstandards/phpcsutils
24417649 Downloads
A suite of utility functions for use with PHP_CodeSniffer
phpcsstandards/phpcsextra
17417420 Downloads
A collection of sniffs and standards for use with PHP_CodeSniffer.
phpcompatibility/phpcompatibility-wp
25576342 Downloads
A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.
php-stubs/wordpress-stubs
9765292 Downloads
WordPress function and class declaration stubs for static analysis.
overtrue/phplint
11804605 Downloads
`phplint` is a tool that can speed up linting of php files by running several lint processes at once.
maglnet/composer-require-checker
9026170 Downloads
CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package
icanhazstring/composer-unused
5707264 Downloads
Show unused packages by scanning your code