abdelhamiderrahmouni / vendorkill
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
Requires
- php: ^8.1|^8.2
- laminas/laminas-text: ^2.10
- laravel/prompts: ^0.1.15
- nunomaduro/termwind: ^1.15.1
Requires (Dev)
- laravel-zero/framework: ^10.2
- laravel/pint: ^1.13
- mockery/mockery: ^1.6
- pestphp/pest: ^2.22
README
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.