2017 © Pedro Peláez
 

library cleanup

Cleaning vendor directory

image

visavi/cleanup

Cleaning vendor directory

  • Monday, May 21, 2018
  • by visavi
  • Repository
  • 1 Watchers
  • 7 Stars
  • 2,379 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 11 % Grown

The README.md

Cleanup

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Cleaning composer vendor directory

It cleans up any tests, descriptions, documentation, examples, etc., (*2)

  • .git
  • .github
  • test
  • tests
  • travis
  • demo
  • example
  • examples
  • doc
  • docs
  • license
  • changelog*
  • changes*
  • faq*
  • contributing*
  • history*
  • upgrading*
  • upgrade*
  • readme*
  • {,.}*.yml
  • *.md
  • *.xml
  • *.txt
  • *.dist
  • *.neon
  • .php_cs*
  • .scrutinizer
  • .gitignore
  • .gitattributes
  • .editorconfig
  • .phpstorm.meta.php
  • dockerfile
  • composer.lock

Installing

composer require visavi/cleanup

Run

./vendor/bin/cleanup

Option

--help (-h) - Display help message, (*3)

--include (-i) - include new rules pattern, (*4)

--exclude (-e) - excludes from the pattern rule, (*5)

--verbose (-v) - Increase the verbosity of messages, (*6)

--path (-p) - Find on specific path, (*7)

--dry (-d) - Run without actual remove, (*8)

the list of arguments must be passed by a comma, (*9)

Example

./vendor/bin/cleanup -v --path symfony --include *.zip,*.rar --exclude doc,docs,test

License

The class is open-sourced software licensed under the MIT license, (*10)

The Versions

21/05 2018

dev-master

9999999-dev http://visavi.net

Cleaning vendor directory

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

composer clean vendor

21/05 2018

v1.4

1.4.0.0 http://visavi.net

Cleaning vendor directory

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

composer clean vendor

24/10 2017

v1.3

1.3.0.0 http://visavi.net

Cleaning vendor directory

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

composer clean vendor

23/10 2017

v1.2

1.2.0.0 http://visavi.net

Cleaning vendor directory

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

composer clean vendor

12/01 2017

v1.1

1.1.0.0 http://visavi.net

Cleaning vendor directory

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

composer clean vendor

11/01 2017

v1.0

1.0.0.0 http://visavi.net

Cleaning vendor directory

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

composer clean vendor