jms/composer-deps-analyzer

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: 2020-05-29 03:15:54 UTC


README

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

Usage is quite simple:

<?php

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

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