Registry / build-tool / phpmd-phpmd

phpmd-phpmd

JSON →
library2.15.0phppackagistunverified

PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.

composer require phpmd/phpmd
INSTALL
IMPORT
SIG · PHPMD-PHPMD
P
phpmd-phpmd
build-toolphpv2.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PHPMD
✓ use PHPMD\PHPMD;

Run PHPMD on a directory with the cleancode ruleset.

use PHPMD\PHPMD; $phpmd = new PHPMD(); $phpmd->process('src/', 'text', 'cleancode');
Debug
Known issues
breakingPHPMD requires PHP 7.2 or higher; older versions may fail.
fix
Upgrade PHP to 7.2+ or use an older PHPMD version.
affects: <2.15.0
Upgrade
Version history
2.15.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
phpmd-phpmd — pip install phpmd-phpmd · libregistry