1. Go to this page and download the library: Download bulton-fr/dependency-tree library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bulton-fr / dependency-tree example snippets
$tree = new \bultonFr\DependencyTree\DependencyTree;
$tree->addDependency('package1')
->addDependency('package2');
$generatedTree = $tree->generateTree();