a composer package to install globally and remove composer vendor folders in you old project to save storage.
You can install the package globally via composer (and update it) by running the following command:
composer global require abdelhamiderrahmouni/vendorkill
you will find it installed in ~/.composer/vendor/bin
or ~/.config/composer/vendor/bin
directory.
add it to your path to use it globally or create an alias like the following:
alias vendorkill="~/.composer/vendor/bin/vendorkill"
# or
alias vendorkill="~/.config/composer/vendor/bin/vendorkill"
vendorkill [path: defaults to current path] [options: --maxdepth=2 --full]
## Examples
vendorkill # remove vendor folders in current path
vendorkill /path/to/project # remove vendor folders in /path/to/project
vendorkill /path/to/project --maxdepth=4 # remove vendor folders in /path/to/project with maxdepth=4
vendorkill /path/to/project --full # remove vendor folders in /path/to/project and all subdirectories
- create the command
- add support for windows
- add a build workflow to build the phar file automatically
- ... share your ideas in the issues
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please open an issue to report any security vulnerabilities.
The MIT License (MIT). Please see License File for more information.