Bug finders

PHP Mess Detector

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.

Installation and compatibility

Type
Analyzer
PHP
>=5.3.9
License
BSD-3-Clause
Install
composer require --dev phpmd/phpmd

Check the project documentation for configuration and version-specific requirements.

Strengths and limitations

ProCatches complexity, naming, and maintainability problems.

ConDefault rules can be noisy on existing codebases.

Editorially reviewed

Repository activity

Activity: Active. Repository activity is a separate signal from suitability for your application.

Latest release
3.0.0
Last commit
Last release

Metadata checked: .

Explore related tools

Browse all bug finders. Tools in the same category can serve different workflows; compare their requirements and limitations.