PHPackages                             ruuds/composer-remove-paths - 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. ruuds/composer-remove-paths

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

ruuds/composer-remove-paths
===========================

Composer plugin for removing files after install or update.

1.0(5y ago)12.4kPHPCI failing

Since Aug 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ruuds/composer-remove-paths)[ Packagist](https://packagist.org/packages/ruuds/composer-remove-paths)[ Docs](https://github.com/ruuds/composer-remove-paths)[ RSS](/packages/ruuds-composer-remove-paths/feed)WikiDiscussions master Synced 3w ago

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

Composer remove paths
=====================

[](#composer-remove-paths)

This Composer plugin allows you to remove paths (files and/or directories) while installing or updating packages, so you can remove unwanted files from your project, eg. before deploying to production.

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

[](#installation)

Simply install the plugin with composer: `composer require ruuds/composer-remove-paths`

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

[](#configuration)

For configuring the paths you need to set `remove-paths` within the `extra` of your root `composer.json`.

```
{
    "extra": {
        "remove-paths": [
          "htdocs/robots.txt",
          "htdocs/directory-to-remove"
        ]
      }
}
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

2131d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7123203?v=4)[Ruud](/maintainers/ruuds)[@ruuds](https://github.com/ruuds)

---

Tags

installercomposer-pluginremove file

### Embed Badge

![Health badge](/badges/ruuds-composer-remove-paths/health.svg)

```
[![Health](https://phpackages.com/badges/ruuds-composer-remove-paths/health.svg)](https://phpackages.com/packages/ruuds-composer-remove-paths)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74794.9M938](/packages/symfony-runtime)[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.5M22](/packages/vaimo-composer-patches)[mnsami/composer-custom-directory-installer

A composer plugin, to help install packages of different types in custom paths.

1415.3M59](/packages/mnsami-composer-custom-directory-installer)[drupal/core-project-message

Adds a message after Composer installation.

2124.0M193](/packages/drupal-core-project-message)[drupal-composer/preserve-paths

Composer plugin for preserving custom paths and supporting nested packages

271.1M5](/packages/drupal-composer-preserve-paths)

PHPackages © 2026

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