From 3b4517aa010d54c81aae62afdab3bc582bbc6add Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Thu, 15 Jun 2023 09:09:06 +0300 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index de15729..04ef1ec 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,28 @@ - Remove files - Report the size of removed files and folders +## How to test + +Include in the project, accept plugin: + +```shell +composer require druidfi/composer-slimmer:dev-main +``` + +Clean projects vendor and other folder loaded by Composer: + +```shell +make clean +``` + +Test installing with slimmer plugin (`-v` flag is for verbose output): + +```shell +composer install -v +``` + +At the end you should see how much space was saved. + ## Resources - [Composer issue #1750](https://github.com/composer/composer/issues/1750)