PHP Static Analysis Tool - discover bugs in your code without running it!
-
Updated
Feb 24, 2025 - PHP
PHP Static Analysis Tool - discover bugs in your code without running it!
Beautiful and understandable static analysis tool for PHP
PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.
Next-gen phpDoc parser with support for intersection types and generics
Doctrine extensions for PHPStan
Nette Framework class reflection extension for PHPStan & framework-specific rules
A code quality control tool for PHP that will give you an idea of the composition of comments in the codebase, and help improve documentation
Detects code smells by assessing complexity to identify potentially problematic code
Dibi class reflection extension for PHPStan
Keep control over the complexity of your methods by checking that they do not have too many arguments.
Analyze the Git history of your PHP files
A simple way to analyze the line length of your PHP files.
Track your variables' lifetime to encourage shorter scopes
A static analysis tool for PHP focused on developer experience
A combined runtime/static code-analysis tool, that can trace parameter types
Add a description, image, and links to the static-analyzer topic page so that developers can more easily learn about it.
To associate your repository with the static-analyzer topic, visit your repo's landing page and select "manage topics."