Libraries tagged by static analysis
phpmetrics/phpmetrics
12881518 Downloads
Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more !
sirbrillig/phpcs-variable-analysis
40960563 Downloads
A PHPCS sniff to detect problems with variables.
tomasvotruba/type-coverage
5443631 Downloads
Measure type coverage of your project
szepeviktor/phpstan-wordpress
5071205 Downloads
WordPress extensions for PHPStan
spaze/phpstan-disallowed-calls
14514322 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
461587 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
3457374 Downloads
Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)
phpdocumentor/reflection
12357149 Downloads
Reflection library to do Static Analysis for PHP Projects
phpcsstandards/phpcsutils
22474185 Downloads
A suite of utility functions for use with PHP_CodeSniffer
phpcsstandards/phpcsextra
15900922 Downloads
A collection of sniffs and standards for use with PHP_CodeSniffer.
phpcompatibility/phpcompatibility-wp
24417852 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
9217646 Downloads
WordPress function and class declaration stubs for static analysis.
overtrue/phplint
11477262 Downloads
`phplint` is a tool that can speed up linting of php files by running several lint processes at once.
maglnet/composer-require-checker
8655351 Downloads
CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package
icanhazstring/composer-unused
5446216 Downloads
Show unused packages by scanning your code