PHPackages                             full/composer-rm-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. full/composer-rm-plugin

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

full/composer-rm-plugin
=======================

Removes vendor files/directories on install/update

v1.0.0(8y ago)43651[1 issues](https://github.com/CarsonF/composer-rm-plugin/issues)[1 PRs](https://github.com/CarsonF/composer-rm-plugin/pulls)MITPHP

Since Aug 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/CarsonF/composer-rm-plugin)[ Packagist](https://packagist.org/packages/full/composer-rm-plugin)[ RSS](/packages/full-composer-rm-plugin/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Composer Rm Plugin
==================

[](#composer-rm-plugin)

This Composer plugin removes vendor files/directories on install/update.

This is useful when packages add "cruft" that you do not need. My use case is Intellij picks up these files when I'm inspecting, searching, etc. Specifically says there are duplicate class definitions, very annoying. With this plugin, I just add those annoying paths to my global composer config file and they are removed after every install/update for all of my local projects, beautiful!

Installation
============

[](#installation)

Require it:

```
$ composer global require full/composer-rm-plugin
```

Open your global composer config, which can be found here:

```
$ echo $(composer config --global data-dir)/config.json
```

Or just to open it in your default editor:

```
$ composer config --global --editor
```

Then add your paths to remove (paths are relative to vendor directory):

```
{
    "config": {
        "rm-paths": [
            "phpunit/phpunit/build",
            "twig/twig/test/bootstrap.php"
        ]
    }
}
```

Paths do not have to exist, so if PHPUnit or Twig are not installed then they are just skipped.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3238d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/932566?v=4)[Carson Full](/maintainers/CarsonF)[@CarsonF](https://github.com/CarsonF)

---

Top Contributors

[![CarsonF](https://avatars.githubusercontent.com/u/932566?v=4)](https://github.com/CarsonF "CarsonF (1 commits)")

---

Tags

composercomposer-pluginphp

### Embed Badge

![Health badge](/badges/full-composer-rm-plugin/health.svg)

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

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74794.9M939](/packages/symfony-runtime)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k40.0M2.6k](/packages/ergebnis-composer-normalize)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

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

Adds a message after Composer installation.

2124.0M193](/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)

PHPackages © 2026

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