backendtea/undepend

Detects orphaned dependencies in your composer.json

0.1.0 2020-02-28 12:12 UTC

This package is auto-updated.

Last update: 2024-04-10 06:22:13 UTC


README

Undepend lets you find orphaned dependencies in your composer lock file

Installation

Installation is done trough composer

$ composer require --dev backendtea/undepend

Usage

$ vendor/bin/undepend

The command will exit with 0 if you have no orphaned dependencies.

If you do have some, it will exit with 1 and give you all dependencies that are orphaned.

You can specify another composer.json and lock file to use like so:

$ vendor/bin/undepend /path/to/composer.json /path/to/composer.lock