PHPackages                             shelane/toggle-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. shelane/toggle-modules

ActiveLibrary

shelane/toggle-modules
======================

Enables and uninstalls specified modules per defined environment.

v1.0.3(2y ago)2265.2k↑49.4%[1 issues](https://github.com/shelane/toggle-modules/issues)GPL-2.0-or-laterPHP

Since Aug 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/shelane/toggle-modules)[ Packagist](https://packagist.org/packages/shelane/toggle-modules)[ RSS](/packages/shelane-toggle-modules/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (7)Used By (0)

Acquia BLT Toggle Modules integration
=====================================

[](#acquia-blt-toggle-modules-integration)

This is an [Acquia BLT](https://github.com/acquia/blt) plugin providing a process for toggling modules on a per environment basis.

This plugin is **community-created** and **community-supported**. Acquia does not provide any direct support for this software or provide any warranty as to its stability.

Installation and usage
----------------------

[](#installation-and-usage)

To use this plugin, you must already have a Drupal project using BLT 13.

1. Add this plugin to your project using composer:

`composer require shelane/toggle-modules`

2. Initialize the toggle settings for your project:

`blt recipes:config:init:toggle-modules`

3. Update your `blt.yml` file with the list of modules you wish to enable to disable in each environment.

The command is registered as post-command hooks for the blt commands `drupal:install` and `drupal:config:import`. You can also call the command manually by calling `blt drupal:toggle:modules`.

License
=======

[](#license)

Copyright (C) 2021 Acquia, Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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

Every ~171 days

Recently: every ~210 days

Total

6

Last Release

886d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a6388d72d9d0fd7b904f7c23fbdb42dba38792379fa14ddbbc80837b6114f49?d=identicon)[shelane](/maintainers/shelane)

---

Top Contributors

[![shelane](https://avatars.githubusercontent.com/u/2090502?v=4)](https://github.com/shelane "shelane (10 commits)")[![imonroe](https://avatars.githubusercontent.com/u/1263892?v=4)](https://github.com/imonroe "imonroe (1 commits)")

### Embed Badge

![Health badge](/badges/shelane-toggle-modules/health.svg)

```
[![Health](https://phpackages.com/badges/shelane-toggle-modules/health.svg)](https://phpackages.com/packages/shelane-toggle-modules)
```

PHPackages © 2026

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