Cleanup
=========
[](https://packagist.org/packages/visavi/cleanup)
[](https://packagist.org/packages/visavi/cleanup)
[](https://packagist.org/packages/visavi/cleanup)
[](https://packagist.org/packages/visavi/cleanup)
## Cleaning composer vendor directory
It cleans up any tests, descriptions, documentation, examples, etc.
* .git
* .github
* test
* tests
* travis
* demo
* example
* examples
* doc
* docs
* license
* changelog*
* changes*
* faq*
* contributing*
* history*
* upgrading*
* upgrade*
* package*
* readme*
* {,.}*.yml
* *.md
* *.xml
* *.txt
* *.json
* *.dist
* .php_cs*
* .scrutinizer
* .gitignore
* .gitattributes
* .editorconfig
* dockerfile
* composer.json
* composer.lock
## Installing
```
composer require visavi/cleanup
```
## Run
```
./vendor/bin/cleanup
```
## Option
include - include new rules pattern
exclude - excludes from the pattern rule
*the list of arguments must be passed by a comma*
## Example
```
./vendor/bin/cleanup --include *.zip,*.rar --exclude doc,docs,test
```
## License
The class is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)
|