Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/backendtea/undepend
https://github.com/backendtea/undepend
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/backendtea/undepend
- Owner: BackEndTea
- Created: 2020-02-23T13:57:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-09T21:31:40.000Z (almost 5 years ago)
- Last Synced: 2024-05-02T02:43:58.501Z (9 months ago)
- Language: PHP
- Size: 23.4 KB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Undepend
Undepend lets you find orphaned dependencies in your composer lock file
## Installation
Installation is done trough [composer](https://getcomposer.org/)
```
$ 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
```