Ross ROSS = Recommend OSS · open-source software intelligence for agents

phpmetrics/PhpMetrics

Beautiful and understandable static analysis tool for PHP observed · 2026-08-28

github.com/phpmetrics/PhpMetrics · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

89/100

  • Activity 98
  • Release rhythm 72
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 152
  • age_days: 4646
  • days_rel: 24
  • days_push: 12
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

2614 stars · 261 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

When to avoid

  • your project is not written in PHP
  • you need full static type checking rather than metrics (use PHPStan or Psalm)

Facets

cli-tool · maturity active

static-site-generator developer-tools monitoring developer-tools testing performance php cli cross-platform static-analysis code-quality code-metrics html-report php

2 sources

Member repositories

RepositoryRoleHealth v2
phpmetrics/PhpMetricsmain89

For agents

markdown · JSON · MCP: product_card(name="phpmetrics/PhpMetrics")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem