freelygive / drupal-composer-preserve
Composer plugin for Drupal to prevent removal of enabled modules.
Installs: 5 917
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:composer-plugin
pkg:composer/freelygive/drupal-composer-preserve
Requires
- php: ^7.0
- composer-plugin-api: ^1.0
- ext-json: *
- composer/installers: ^1.2
- drush/drush: ^9.0.0 | ^10.0 | ^11.0
This package is auto-updated.
Last update: 2025-10-07 16:26:16 UTC
README
This composer plugin will prevent Drupal modules and themes from being uninstalled while they are still enabled in the Drupal system.
Usage
composer require freelygive/drupal-composer-preserve
The plugin has to be installed in the environment before it will have an effect, so you can't deploy at the same time as a package removal.