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

deptrac/deptrac

Keep your architecture clean. observed · 2026-08-28

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

Health v2 · maintenance only

97/100

  • Activity 97
  • Release rhythm 94
  • 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: 21.5
  • age_days: 3960
  • days_rel: 41
  • days_push: 19
  • n_releases_24m: 19

Full methodology

Adoption not part of the score

2997 stars · 154 forks observed · 2026-08-28

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

Deptrac is a static code analysis tool for PHP that helps you communicate, visualize, and enforce architectural decisions in your projects. It lets you define architectural layers over classes and rules between them, then checks violations in CI and can visualize dependencies via Graphviz or Mermaid.

Use cases

  • enforce architectural layer boundaries in a PHP codebase
  • prevent modules or bundles from depending on each other
  • run architecture rule checks in a CI pipeline on pull requests
  • visualize class dependencies between layers with Graphviz or Mermaid diagrams
  • keep a large PHP application's architecture clean and documented
  • detect violations of dependency rules between namespaces or classes

When to choose

  • you have a PHP project with multiple modules, bundles, or layers that should stay independent
  • you want to automatically enforce architecture rules in CI
  • you need to visualize and document dependency structure of a PHP codebase

When to avoid

  • your project is not written in PHP
  • you need runtime dependency injection or service container management rather than static analysis
  • you only need general linting or code style checks rather than architectural rules

Facets

cli-tool · maturity active

static-site-generator linter developer-tools cli developer-tools cli php cross-platform architecture-rules dependency-analysis code-quality ci-pipeline php layered-architecture static-analysis visualization architecture clean-architecture

2 sources

Member repositories

RepositoryRoleHealth v2
deptrac/deptracmain97

For agents

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

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