Builds a Dependency Graph from a composer.json file

1.0.1 2016-11-09 16:59 UTC

This package is auto-updated.

Last update: 2021-03-01 00:09:42 UTC


This library allows you to build a dependency graph for an installed composer project.

Usage is quite simple:


$analyzer = new \JMS\Composer\DependencyAnalyzer();
$graph = $analyzer->analyze($dir);

$graph is a directed graph with the packages as nodes.