obriat/uninstall-drupal-modules

Check that Drupal modules are uninstalled before removal.

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:composer-plugin

pkg:composer/obriat/uninstall-drupal-modules

1.0.0 2025-07-07 07:59 UTC

This package is auto-updated.

Last update: 2026-01-07 10:33:45 UTC


README

Uninstall modules and themes from Drupal before composer remove their files.

The main purpose is to avoid drush config:import errors after switching branches on a dev environment or before a deployment.

It uses the drush binary (and does not support the --uri=URI option).

Install

Development environments

composer require --dev obriat/uninstall-drupal-modules

Deployment scripts

composer require obriat/uninstall-drupal-modules