ruuds/composer-remove-paths

There is no license information available for the latest version (1.0) of this package.

Composer plugin for removing files after install or update.

Installs: 2 393

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:composer-plugin

1.0 2020-08-28 08:21 UTC

This package is auto-updated.

Last update: 2024-10-28 18:18:18 UTC


README

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

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

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"
        ]
      }
}