PHPackages                             discoverygarden/update-helper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. discoverygarden/update-helper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

discoverygarden/update-helper
=============================

v1.0.1(3y ago)01.3k↓100%3GPL-3.0-onlyPHP

Since Jan 13Pushed 2y ago6 watchersCompare

[ Source](https://github.com/discoverygarden/update-helper)[ Packagist](https://packagist.org/packages/discoverygarden/update-helper)[ RSS](/packages/discoverygarden-update-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (3)

Update Helper
=============

[](#update-helper)

Class library to contain some common behaviours during update hooks.

Contents
--------

[](#contents)

- `\Discoverygarden\UpdateHelper`
    - Contains the single method `::ensureModuleEnabled()` which accepts the name of a module to ensure is enabled, which is a recurring operation over the lifetime of modules as dependencies change, as Drupal does not presently account for new additions to `{extension}.info.yml`. Additionally, it may be desirable to "soften" the inclusion of behaviours that are extracted from a given module such that even if `.info.yml` *was* enforced, it might not be desirable to have new installations enforce the same module state.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~3 days

Total

2

Last Release

1209d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed79bbc35ed0aaee2f603c6f16885fb01e203941eea0cd63013f9f6185df6c30?d=identicon)[adam-vessey](/maintainers/adam-vessey)

![](https://www.gravatar.com/avatar/49d799e416ff30e90b07d1b7b6a487dfe945ae884c53747de4724439965d7904?d=identicon)[lutaylor](/maintainers/lutaylor)

![](https://www.gravatar.com/avatar/454136e389341c2a9c22dfba3107e09e2f8653807185bb213c5272efa9b93864?d=identicon)[willtp87](/maintainers/willtp87)

---

Top Contributors

[![adam-vessey](https://avatars.githubusercontent.com/u/607975?v=4)](https://github.com/adam-vessey "adam-vessey (10 commits)")[![nchiasson-dgi](https://avatars.githubusercontent.com/u/53783039?v=4)](https://github.com/nchiasson-dgi "nchiasson-dgi (3 commits)")[![bibliophileaxe](https://avatars.githubusercontent.com/u/18718388?v=4)](https://github.com/bibliophileaxe "bibliophileaxe (1 commits)")

---

Tags

drupaldrupal-library

### Embed Badge

![Health badge](/badges/discoverygarden-update-helper/health.svg)

```
[![Health](https://phpackages.com/badges/discoverygarden-update-helper/health.svg)](https://phpackages.com/packages/discoverygarden-update-helper)
```

PHPackages © 2026

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