backendtea / undepend
Detects orphaned dependencies in your composer.json
0.1.0
2020-02-28 12:12 UTC
Requires
- php: ^7.3
Requires (Dev)
- doctrine/coding-standard: ^7.0
- infection/infection: ^0.15.3
- phpstan/phpstan: ^0.12.11
- phpunit/phpunit: ^8.5||^9.0
- vimeo/psalm: ^3.9
This package is auto-updated.
Last update: 2024-10-10 07:23:48 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