PHPackages                             devcollaborative/module-hunter - 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. [Security](/categories/security)
4. /
5. devcollaborative/module-hunter

ActiveLibrary[Security](/categories/security)

devcollaborative/module-hunter
==============================

Command line tool to easily search through all your Pantheon-hosted Drupal sites and identify active instances of a particular module.

2.0.0-alpha3(3mo ago)011[1 issues](https://github.com/devcollaborative/module-hunter/issues)[1 PRs](https://github.com/devcollaborative/module-hunter/pulls)MITPHP

Since Feb 10Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/devcollaborative/module-hunter)[ Packagist](https://packagist.org/packages/devcollaborative/module-hunter)[ RSS](/packages/devcollaborative-module-hunter/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (1)Versions (8)Used By (0)

Module Hunter for Pantheon-hosted Drupal sites
==============================================

[](#module-hunter-for-pantheon-hosted-drupal-sites)

This command-line tool was created to help developers who maintain a large number of Pantheon-hosted Drupal 8+ sites to easily identify which sites have an a module or modules installed. The primary use case is to check your sites for a module after a security advisory is posted.

Dependencies
------------

[](#dependencies)

Requires [Pantheon's Terminus CLI tool](https://github.com/pantheon-systems/terminus) and your terminus instance must be configured with a machine token.

Usage
-----

[](#usage)

Use this script with the following syntax:

`module-hunt module_name [module_name2] [module_name3]`

Alternatively search for install profiles:

`profile-hunt profile_name [profile_name2]`

If you need to search for additional extensions, just keep appending their names as arguments. There is no limit.

How does it work?
-----------------

[](#how-does-it-work)

Module hunter checks the list of modules installed on the Live environment of the site. If the site is on a Sandbox plan, instead it checks the Dev environment.

Stability: ALPHA Release
------------------------

[](#stability-alpha-release)

This script has thus far proven stable for our use cases, but has not been extensively tested.

Installation
------------

[](#installation)

### With Composer

[](#with-composer)

If you use `composer global` to install and maintain php tools and libraries, you may add Module Hunter to your command line via:

`composer global require devcollaborative/module-hunter`

**NOTE: As this library is currently pre-release, your global composer.json must include a [minimum-stability](https://getcomposer.org/doc/04-schema.md#minimum-stability) value of either "alpha" or "dev".**

### Without Composer

[](#without-composer)

Download/clone this library and append run the command from it's parent directory as `./module-hunt`

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance78

Regular maintenance activity

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.6% 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 ~543 days

Total

5

Last Release

115d ago

Major Versions

1.0-alpha3 → 2.0.0-alpha12024-02-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ec9f04f0244fb7c0c3b128511a5346c6571617c41c57c1978897470d98bde93?d=identicon)[jeffhipp](/maintainers/jeffhipp)

---

Top Contributors

[![jeffhipp](https://avatars.githubusercontent.com/u/13893692?v=4)](https://github.com/jeffhipp "jeffhipp (25 commits)")[![sonfd](https://avatars.githubusercontent.com/u/16960670?v=4)](https://github.com/sonfd "sonfd (2 commits)")

---

Tags

securitydrupalpantheonmodulesterminusd8

### Embed Badge

![Health badge](/badges/devcollaborative-module-hunter/health.svg)

```
[![Health](https://phpackages.com/badges/devcollaborative-module-hunter/health.svg)](https://phpackages.com/packages/devcollaborative-module-hunter)
```

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[spatie/laravel-csp

Add CSP headers to the responses of a Laravel app

8519.6M19](/packages/spatie-laravel-csp)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M13](/packages/pantheon-systems-terminus)

PHPackages © 2026

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