PHPackages                             obriat/uninstall-drupal-modules - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. obriat/uninstall-drupal-modules

ActiveComposer-plugin[DevOps &amp; Deployment](/categories/devops)

obriat/uninstall-drupal-modules
===============================

Check that Drupal modules are uninstalled before removal.

1.0.0(12mo ago)14351MITPHPPHP &gt;=7.0.0

Since Jul 7Pushed 12mo agoCompare

[ Source](https://github.com/obriat/uninstall-drupal-modules)[ Packagist](https://packagist.org/packages/obriat/uninstall-drupal-modules)[ RSS](/packages/obriat-uninstall-drupal-modules/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

uninstall-drupal-modules
========================

[](#uninstall-drupal-modules)

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
=======

[](#install)

Development environments
------------------------

[](#development-environments)

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

Deployment scripts
------------------

[](#deployment-scripts)

`composer require obriat/uninstall-drupal-modules`

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance50

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

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

361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a1957acb53c274ad8a93630c2f0eee9ffd060b288002e78641723befab4ff48?d=identicon)[obriat](/maintainers/obriat)

---

Top Contributors

[![olivier-briat](https://avatars.githubusercontent.com/u/263342356?v=4)](https://github.com/olivier-briat "olivier-briat (4 commits)")[![obriat](https://avatars.githubusercontent.com/u/26036776?v=4)](https://github.com/obriat "obriat (2 commits)")

---

Tags

composerdrupalcomposerdrupalci

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/obriat-uninstall-drupal-modules/health.svg)

```
[![Health](https://phpackages.com/badges/obriat-uninstall-drupal-modules/health.svg)](https://phpackages.com/packages/obriat-uninstall-drupal-modules)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.3k7.1k1](/packages/farmos-farmos)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M564](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.7M203](/packages/drupal-core-project-message)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

43785.5k4](/packages/lullabot-drainpipe)

PHPackages © 2026

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