# deptrac

Keep your architecture clean.

Canonical page: https://www.reposhelf.co.uk/projects/github/deptrac/deptrac.html

- Project ID: deptrac/deptrac
- Source: GitHub
- Original project: https://github.com/deptrac/deptrac
- Description attribution: project author metadata
- Categories: Other
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-20T16:32:47.778Z
- Demo page loaded: 2026-11-16T12:20:30.208Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Deptrac is a static code analysis tool for PHP that helps you communicate, visualize and enforce architectural decisions in your projects. You can freely define your architectural layers over classes and which rules should apply to them.

> For example, you can use Deptrac to ensure that bundles/modules/extensions in your project are truly independent of each other to make them easier to reuse.

> Deptrac can be used in a CI pipeline to make sure a pull request does not violate any of the architectural rules you defined. With the optional Graphviz or Mermaidjs formatter you can visualize your layers, rules and violations.



## Author-documented requirements and audience

> Deptrac is a static code analysis tool for PHP that helps you communicate, visualize and enforce architectural decisions in your projects. You can freely define your architectural layers over classes and which rules should apply to them.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/deptrac/deptrac/blob/4.x/README.md

Extraction checked: 2026-10-25T14:06:30.101Z

Last recorded source update: 2026-09-20T11:38:41.000Z

Saved release: 4.7.2 — 2026-09-15T09:46:52.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=deptrac%2Fdeptrac). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
