{"adoption": {"forks": 261, "observed_at": "2026-08-28T04:07:04.513201+00:00", "stars": 2614}, "canonical_url": "https://ross.abutalabs.com/products/phpmetrics", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Beautiful and understandable static analysis tool for PHP", "domain": ["developer-tools", "testing", "performance"], "enriched": true, "function": ["static-site-generator", "developer-tools", "monitoring"], "health_score": 99, "homepage": "https://phpmetrics.github.io/website/", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["phpmetrics/PhpMetrics"], "name": "phpmetrics/PhpMetrics", "platform": ["php", "cli", "cross-platform"], "pushed_at": "2026-08-21T18:05:51+00:00", "repo": "phpmetrics/PhpMetrics", "stars": 2614, "tags": ["static-analysis", "code-quality", "code-metrics", "html-report", "php"], "topics": ["static-analyzer", "quality", "php", "metrics", "ci"], "urls": [], "use_cases": ["measure code quality metrics of a PHP project", "generate an HTML report of PHP class complexity", "enforce quality rules in CI for PHP code", "find maintainability issues in a PHP codebase", "analyze coupling and cohesion of PHP classes"], "what_it_is": "PhpMetrics is a static analysis tool for PHP that computes quality metrics about projects and classes. It generates a beautiful, readable HTML report and can be integrated into continuous integration pipelines.", "when_to_avoid": ["your project is not written in PHP", "you need full static type checking rather than metrics (use PHPStan or Psalm)"], "when_to_choose": ["you maintain a PHP codebase and want quantitative quality metrics", "you want visual HTML reports of code health", "you need static analysis gates in your CI pipeline"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/phpmetrics", "repo": "phpmetrics/PhpMetrics", "role": "main", "score": 89}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "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:07:04.513201+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:04.513201+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:20:34.670297+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4cc018b0a35cd8576e3b41e68fd158903e9037198d011d05971f92d7cdc3b0d1", "fetched_at": "2026-08-28T04:07:04.513201+00:00", "kind": "readme", "missing": false, "url": "https://github.com/phpmetrics/PhpMetrics"}, {"content_hash": "413fd7f519edfec95ef161a37a0e7b6e93619de5c7a02c0b819e1d20aeeef3d5", "fetched_at": "2026-08-29T10:03:24.546759+00:00", "kind": "homepage", "missing": false, "url": "https://phpmetrics.github.io/website/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 72}, "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": 4646, "days_push": 12, "days_rel": 24, "gap_med": 152, "n_releases_24m": 4}, "score": 89, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}