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.4kPHP

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 1mo 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 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

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

2081d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec235eed9681afed5f71ae1ee926c21d57d611a60fb3be73cfee4f7f7c5c923e?d=identicon)[ruuds](/maintainers/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

[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)[mnsami/composer-custom-directory-installer

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

1395.0M52](/packages/mnsami-composer-custom-directory-installer)[typo3/cms-composer-installers

TYPO3 CMS Installers

6113.7M52](/packages/typo3-cms-composer-installers)[drupal-composer/preserve-paths

Composer plugin for preserving custom paths and supporting nested packages

271.1M5](/packages/drupal-composer-preserve-paths)[typisttech/imposter-plugin

Composer plugin that wraps all composer vendor packages inside your own namespace. Intended for WordPress plugins.

158251.0k2](/packages/typisttech-imposter-plugin)[craftcms/plugin-installer

Craft CMS Plugin Installer

283.3M4](/packages/craftcms-plugin-installer)

PHPackages © 2026

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