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
Requires
- php: >=7.0.0
- composer-plugin-api: ^2
- drupal/core: >=8.0.0
- drush/drush: >=8.0.0
Requires (Dev)
- composer/composer: ^2.0
- squizlabs/php_codesniffer: 3.*
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