PHPackages                             tavy315/composer-cleanup-plugin - 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. tavy315/composer-cleanup-plugin

AbandonedArchivedComposer-plugin[Utility &amp; Helpers](/categories/utility)

tavy315/composer-cleanup-plugin
===============================

A composer cleanup plugin, to remove tests and documentation to save space based on barryvdh/composer-cleanup-plugin

0.0.8(8y ago)15951MITPHPPHP &gt;=5.5.9

Since Oct 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/tavy315/composer-cleanup-plugin)[ Packagist](https://packagist.org/packages/tavy315/composer-cleanup-plugin)[ RSS](/packages/tavy315-composer-cleanup-plugin/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

Composer Cleanup Plugin
=======================

[](#composer-cleanup-plugin)

Remove tests &amp; documentation from the vendor dir.

Usually disk size shouldn't be a problem, but when you have to use FTP to deploy or have very limited disk space, you can use this package to cut down the vendor directory by deleting files that aren't used in production (tests/docs etc).

> **Note:** This package is still experimental, usage in production is not recommended. In normal circumstances, you shouldn't care about disk space! Try deploying with SSH/Git instead.

Install
-------

[](#install)

[![FOSSA Status](https://camo.githubusercontent.com/7e491b39b7e45306f5739bc855b387cf6161b88ab31912b1bb70dccfcd389bd2/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d25324674617679333135253246636f6d706f7365722d636c65616e75702d706c7567696e2e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftavy315%2Fcomposer-cleanup-plugin?ref=badge_shield)

Require this package in your composer.json:

```
  "tavy315/composer-cleanup-plugin": "dev-master"

```

Adding rules
------------

[](#adding-rules)

Please submit a PR to [src/CleanupRules.php](https://github.com/tavy315/composer-cleanup-plugin/blob/master/src/CleanupRules.php) to add more rules for packages. Make sure you test them first, sometimes tests dirs are classmapped and will error when deleted.

License
-------

[](#license)

[![FOSSA Status](https://camo.githubusercontent.com/579e93e672f2f09af379aa1882cbf4a02288ca529dbe46f4b84a241f741e9e08/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d25324674617679333135253246636f6d706f7365722d636c65616e75702d706c7567696e2e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftavy315%2Fcomposer-cleanup-plugin?ref=badge_large)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% 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 ~78 days

Recently: every ~109 days

Total

8

Last Release

2988d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cbd7f8a77046b7b0503be37cb37014a87385e07c6636b60e55fdf7cd11b2117?d=identicon)[Octav](/maintainers/Octav)

---

Top Contributors

[![tavy315](https://avatars.githubusercontent.com/u/6184412?v=4)](https://github.com/tavy315 "tavy315 (11 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")

---

Tags

composer-cleanup-plugincomposer-pluginphp

### Embed Badge

![Health badge](/badges/tavy315-composer-cleanup-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/tavy315-composer-cleanup-plugin/health.svg)](https://phpackages.com/packages/tavy315-composer-cleanup-plugin)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74794.9M942](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M527](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.0M194](/packages/drupal-core-project-message)[sandersander/composer-link

Adds ability to link local packages for development with composer

94441.4k](/packages/sandersander-composer-link)[phpro/grumphp-shim

GrumPHP Phar distribution

284.6M333](/packages/phpro-grumphp-shim)[lullabot/drainpipe

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

41759.2k3](/packages/lullabot-drainpipe)

PHPackages © 2026

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