druidfi/composer-slimmer

This package is abandoned and no longer maintained. The author suggests using the requirecloud/composer-slimmer package instead.

Installs: 174

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 3

Type:composer-plugin

pkg:composer/druidfi/composer-slimmer

0.1.2 2023-07-31 06:28 UTC

README

Run tests

Plan of Cleanup

  • Remove listed folders (so we don't need to search inside them)
  • Find all files with patterns e.g. *.{md,txt,rst,dist}
  • Make list of files to be removed from found files and listed files
  • Remove files
  • Report the size of removed files and folders

How to test

Require Plugin in the project and accept plugin:

composer require requirecloud/composer-slimmer

Clean projects vendor and other folders loaded by Composer.

Then test installing with Composer Slimmer plugin (-v flag is for verbose output):

composer install -v

At the end you should see how much space was saved.

Resources