{"adoption": {"forks": 357, "observed_at": "2026-08-28T04:06:52.666188+00:00", "stars": 2446}, "canonical_url": "https://ross.abutalabs.com/products/phpmd", "card": {"archived": false, "artifact_type": "cli-tool", "description": "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.", "domain": ["developer-tools", "testing", "programming-languages"], "enriched": true, "function": ["linter", "developer-tools", "code-review"], "health_score": 83, "homepage": "https://phpmd.org", "language": "PHP", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["phpmd/phpmd"], "name": "phpmd/phpmd", "platform": ["cli", "php", "cross-platform"], "pushed_at": "2026-08-23T08:00:38+00:00", "repo": "phpmd/phpmd", "stars": 2446, "tags": ["mess-detector", "static-analyzer", "clean-code", "code-smells", "pmd", "php-depend", "quality-assurance", "command-line"], "topics": ["mess-detector", "php", "pmd", "static-analysis", "static-analyzer", "clean-code", "hacktoberfest"], "urls": [], "use_cases": ["detect code smells in my php project", "find unused methods and parameters in php code", "enforce clean code rules in ci pipeline", "analyze php code complexity and cyclomatic complexity", "static analysis for php similar to pmd", "generate xml reports of php code violations", "find possible bugs in legacy php codebase"], "what_it_is": "PHPMD is a static analysis tool for PHP source code, a PHP equivalent of the Java PMD tool built on top of PHP Depend's metrics. It scans codebases for potential bugs, suboptimal code, overcomplicated expressions, and unused code using configurable rulesets.", "when_to_avoid": ["you need full syntax/style linting rather than semantic mess detection (use PHP_CodeSniffer)", "your project is not written in PHP", "you need runtime error detection or dynamic analysis"], "when_to_choose": ["you maintain a PHP codebase and want automated detection of messy or buggy code", "you need configurable rulesets for code quality gates in CI", "you want a PMD-style mess detector for PHP"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/phpmd", "repo": "phpmd/phpmd", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:52.666188+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:30:33.024889+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c25f87ac756e2731d098132dbd21a577e2e950831fbd0eaa1c9bfed6915fa3a9", "fetched_at": "2026-08-28T04:06:52.666188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmd/phpmd"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.940237+00:00", "kind": "homepage", "missing": false, "url": "https://phpmd.org"}, {"content_hash": "dd6fd12381789f4653f863ca16496b5a54dc8e554ddfda005f6e94a0962a3695", "fetched_at": "2026-08-29T10:11:49.943762+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/about.html"}, {"content_hash": "26504ff8a8074cf78645e96af2c70938cde6bff3a2521626feaa6b8ad8f3d04e", "fetched_at": "2026-08-29T10:11:49.946347+00:00", "kind": "site_page", "missing": false, "url": "https://phpmd.org/documentation/index.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5695, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}