PHP Package: qossmic/deptrac
Deptrac is a PHP library for static code analysis to enforce dependency rules in your architecture. It helps to visualize and detect violations, ensuring a clean and maintainable codebase.
Package Description
Deptrac is a powerful tool that provides insights into your codebase's architecture. By defining and enforcing dependency rules, you can maintain a high level of code quality and structure. With Deptrac, you can easily identify and resolve architectural issues, leading to a more robust and scalable application.
Download Latest Version: 2.0.4

Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/qossmic/deptrac/2.0.4/loader.php';
require_once 'libs/phpstan/phpstan/2.1.30/loader.php';
require_once 'libs/symfony/console/7.3.4/loader.php';
use Deptrac\Analyzer\AnalyzerInterface;
use Deptrac\Collector\CollectorInterface;
use Deptrac\DependencyEmitter;
$obj = new AnalyzerInterface();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.