PHPackages                             druidfi/composer-slimmer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. druidfi/composer-slimmer

Abandoned → [requirecloud/composer-slimmer](/?search=requirecloud%2Fcomposer-slimmer)Composer-plugin[Utility &amp; Helpers](/categories/utility)

druidfi/composer-slimmer
========================

0.1.2(2y ago)0174[3 issues](https://github.com/requirecloud/composer-slimmer/issues)MITPHPPHP ^8.0CI passing

Since Jun 15Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/requirecloud/composer-slimmer)[ Packagist](https://packagist.org/packages/druidfi/composer-slimmer)[ RSS](/packages/druidfi-composer-slimmer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (15)Used By (0)

Composer Slimmer
================

[](#composer-slimmer)

[![Run tests](https://github.com/requirecloud/composer-slimmer/actions/workflows/tests.yml/badge.svg)](https://github.com/requirecloud/composer-slimmer/actions/workflows/tests.yml)

Plan of Cleanup
---------------

[](#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
-----------

[](#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
---------

[](#resources)

- [Composer issue #1750](https://github.com/composer/composer/issues/1750)
- [Drupal Clean Package Composer Plugin](https://www.drupal.org/project/clean_package)
- [The Drupal Vendor Hardening Composer Plugin](https://github.com/drupal/core-vendor-hardening)

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance47

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Recently: every ~1 days

Total

8

Last Release

1014d ago

PHP version history (2 changes)0.0.1PHP ^7.4 || ^8.0

0.0.3PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4cd9c5f6ffd2d6019f8375ce471fd34395c78885b9b9cf22e9a97be47c875138?d=identicon)[back-2-95](/maintainers/back-2-95)

---

Top Contributors

[![back-2-95](https://avatars.githubusercontent.com/u/1140272?v=4)](https://github.com/back-2-95 "back-2-95 (86 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

composercomposer-plugin

### Embed Badge

![Health badge](/badges/druidfi-composer-slimmer/health.svg)

```
[![Health](https://phpackages.com/badges/druidfi-composer-slimmer/health.svg)](https://phpackages.com/packages/druidfi-composer-slimmer)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M15](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M442](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
