a composer package to install globally and remove composer vendor folders in you old project to save storage.

v0.1.86 2024-02-21 11:51 UTC

This package is auto-updated.

Last update: 2024-12-21 16:51:44 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

a composer package to install globally and remove composer vendor folders in you old project to save storage.

Installation && Update

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"

Usage

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

Roadmap

  • create the command
  • add support for windows
  • add a build workflow to build the phar file automatically
  • ... share your ideas in the issues

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please open an issue to report any security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.