PHP Package: qossmic/deptrac-shim

Deptrac shim library for seamless integration with PHP projects, ensuring clean code architecture and adherence to defined dependencies.

Current Version:
Last Updated:
PHP Requirement: >=7.1
Dependencies: qossmic/deptrac, phpunit/phpunit, symfony/console
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Deptrac shim library provides a powerful tool for analyzing and visualizing dependencies within your PHP codebase. With Deptrac, you can enforce architectural constraints, prevent cyclic dependencies, and maintain a modular code structure.

🔗 View on GitHub

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-shim/lib_version/autoload.php';

use DeptracShim\Analyzer;
use DeptracShim\Config\DeptracConfig;
use Deptrac\Core\Dependency\DependencyInterface;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Command\Command;


$obj = new DeptracShim\Analyzer();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.