frostiede/composer-dependency-list

Lists all Composer dependencies.

2.0.2 2021-12-31 11:43 UTC

This package is auto-updated.

Last update: 2024-11-10 23:29:05 UTC


README

A small library which parses your composer.lock file and gets you a list of all your dependencies. This can be useful to list all your project dependencies.

Usage

$resolver = new ComposerDependenciesResolver('path/to/your/composer.lock');

/** @var Dependency[] $rependencies */
$dependencies = $resolver->getDependencies();

See the Dependency class for futher reference.

Contribution

Feel free to contribute

Integration

There is a Symfony bundle 😉

Contribution

Feel free to contribute :-)

License

MIT