PHPackages                             asapo/remove-vendor-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. asapo/remove-vendor-plugin

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

asapo/remove-vendor-plugin
==========================

A Composer plugin to remove specific folders after installation or update.

0.1.0(2y ago)017.5k19PHP

Since Jun 21Pushed 2y agoCompare

[ Source](https://github.com/wachterjohannes/remove-vendor-plugin)[ Packagist](https://packagist.org/packages/asapo/remove-vendor-plugin)[ RSS](/packages/asapo-remove-vendor-plugin/feed)WikiDiscussions main Synced today

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

Remove Vendor Plugin
====================

[](#remove-vendor-plugin)

A Composer plugin to remove specific folders inside the `vendor` directory after installation or updating.

Installation
------------

[](#installation)

1. Add the plugin to your project's `composer.json`:

    ```
    {
      "require": {
        "asapo/remove-vendor-plugin": "*"
      },
      "config": {
        "allow-plugins": {
          "asapo/remove-vendor-plugin": true
        }
      }
    }
    ```
2. Run Composer install or update:

    ```
    composer install
    ```

    or

    ```
    composer update
    ```

Configuration
-------------

[](#configuration)

To configure the folders to be removed, add the `remove-folders` option under the `extra` key in your `composer.json`:

```
{
    "extra": {
        "remove-folders": [
            "modelflow-ai/*/vendor"
        ]
    }
}
```

You can specify multiple patterns if needed.

Usage
-----

[](#usage)

This plugin hooks into Composer's `post-install-cmd` and `post-update-cmd` events. After running `composer install`or `composer update`, it will automatically remove the specified folders.

Development
-----------

[](#development)

### Directory Structure

[](#directory-structure)

```
remove-vendor-plugin/
├── composer.json
├── src/
│   ├── Plugin.php
│   ├── EventSubscriber.php
└── README.md

```

### Namespaces

[](#namespaces)

Ensure that the namespaces in your PHP files match the directory structure and autoload configuration in `composer.json`.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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

741d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e43a10984e8ee1687abaac86c26311c6a607b9560e8a3cc3193f8245751618bc?d=identicon)[wachterjohannes](/maintainers/wachterjohannes)

---

Top Contributors

[![wachterjohannes](https://avatars.githubusercontent.com/u/1464615?v=4)](https://github.com/wachterjohannes "wachterjohannes (2 commits)")

### Embed Badge

![Health badge](/badges/asapo-remove-vendor-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/asapo-remove-vendor-plugin/health.svg)](https://phpackages.com/packages/asapo-remove-vendor-plugin)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74798.8M1.0k](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

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

Adds a message after Composer installation.

2124.7M203](/packages/drupal-core-project-message)[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.

3014.6M25](/packages/vaimo-composer-patches)[sandersander/composer-link

Adds ability to link local packages for development with composer

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

GrumPHP Phar distribution

294.7M340](/packages/phpro-grumphp-shim)

PHPackages © 2026

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