2017 © Pedro Peláez
 

library vendors-cleanup

This package removes unwanted files from vendor directory

image

sc0/vendors-cleanup

This package removes unwanted files from vendor directory

  • Wednesday, January 10, 2018
  • by sc0rp10
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2,599 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 10 % Grown

The README.md

php-vendors-cleanup

Clear php vendor-dir from unwanted files, (*1)

Script removes: - tests and related files - docs - composer files - all dotfiles - Symfony's WebProfilerBundle and DebugBundle which are not needed in production environment - Symfony's Intl data, (*2)

Why?

On typical Symfony installation we have about ~10k files, (*3)

$ find vendor -type f | wc -l
   12843

But a big part of them is not required in production environment and may be removed, (*4)

$ ./vendor/bin/clear_vendors
$ find vendor -type f | wc -l
   5579

Usage

composer require sc0/vendors-cleanup
./vendor/bin/clear_vendors

The Versions

10/01 2018

dev-master

9999999-dev

This package removes unwanted files from vendor directory

  Sources   Download

MIT

10/01 2018

0.4.0

0.4.0.0

This package removes unwanted files from vendor directory

  Sources   Download

MIT

14/12 2017

0.3.0

0.3.0.0

This package removes unwanted files from vendor directory

  Sources   Download

MIT

24/05 2017

0.2.0

0.2.0.0

This package removes unwanted files from vendor directory

  Sources   Download

MIT

24/05 2017

0.1.0

0.1.0.0

This package removes unwanted files from vendor directory

  Sources   Download

MIT