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: 2024-03-29 02:33:56 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.