Deptrac is a static analysis tool for PHP that helps maintain architectural boundaries within codebases. It analyzes dependencies between classes and ensures that code follows predefined architectural rules. Deptrac is useful for preventing unwanted couplings, enforcing clean code architecture, and detecting violations early during development.

Features

  • Analyzes codebase dependencies for architectural consistency
  • Defines layers and rules for code organization
  • Detects unwanted dependencies and architectural violations
  • Generates visual dependency graphs for analysis
  • Supports configuration via YAML for flexible setup
  • Integration with CI/CD pipelines for automated checks

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Deptrac

Deptrac Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Deptrac!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

PHP

Related Categories

PHP Source Code Analysis Tool

Registered

2025-05-15