{"id":86317,"library":"phpmd-phpmd","title":"PHPMD","description":"PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.","status":"active","version":"2.15.0","language":"php","source_language":null,"source_url":"https://github.com/phpmd/phpmd","tags":["phpmd","mess-detector","code-quality","static-analysis"],"install":[{"cmd":"composer require phpmd/phpmd","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"PHPMD","correct":"use PHPMD\\PHPMD;"}],"quickstart":{"code":"use PHPMD\\PHPMD;\n\n$phpmd = new PHPMD();\n$phpmd->process('src/', 'text', 'cleancode');","lang":"php","description":"Run PHPMD on a directory with the cleancode ruleset."},"warnings":[{"fix":"Upgrade PHP to 7.2+ or use an older PHPMD version.","message":"PHPMD requires PHP 7.2 or higher; older versions may fail.","severity":"breaking","affected_versions":"<2.15.0"}],"env_vars":null,"search_vec":"'aim':13 'analysi':35 'code':31 'code-qu':30 'depend':11 'detector':29 'equival':18 'java':23 'known':22 'mess':28 'mess-detector':27 'php':10,17 'phpmd':1,2,26 'pmd':25 'project':8 'qualiti':32 'spin':6 'spin-off':5 'static':34 'static-analysi':33 'tool':24 'well':21","created_at":"2026-06-19T07:59:28.201959+00:00","updated_at":"2026-06-19T07:59:28.201959+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://phpmd.org/","github":"https://github.com/phpmd/phpmd","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}