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

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

starbug/modules
===============

A very simple module management layer.

v1.1.0(6mo ago)04.8k↓70%GPL-3.0-or-laterPHP

Since Jan 16Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/cogentParadigm/starbug-modules)[ Packagist](https://packagist.org/packages/starbug/modules)[ RSS](/packages/starbug-modules/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (5)Used By (0)

Modules
=======

[](#modules)

This package brings together components for a module system. The main component is starbug/composer-modules-plugin, to which this package adds some more opinionated runtime interfaces.

What's included
===============

[](#whats-included)

- [composer/installers](https://github.com/composer/installers) Composer installer plugin to place modules outside of vendor.
- [starbug/composer-modules-plugin](https://github.com/cogentParadigm/composer-modules-plugin) Composer plugin to generate an ordered module list.
- starbug/modules Includes a simple interface for runtime module management.

Usage
=====

[](#usage)

```
// vendor/modules.php is generated by starbug/composer-modules-plugin from the installed composer packages.
$modules = include("vendor/modules.php");

$config = new Starbug\Modules\Configuration($modules);

// Enable a module
$config->enable("my-module");

// Disable a module
$config->disable("my-module");

// Enable multiple modules
$config->enableAll(["type" => "module"]);

// Disable multiple modules
$config->disableAll(["type" => "theme"]);

// Get enabled modules
$config->getEnabled();

// Get all modules
$config->getModules();

// Get module properties
$config->get("my-module")

// Get module property
$config->get("my-module", "path");
```

Note that `vendor/modules.php` is the list of registered modules. See [starbug/composer-modules-plugin](https://github.com/cogentParadigm/composer-modules-plugin) for details on how it's generated.

For [composer/installers](https://github.com/composer/installers) to work, you must be using one of the predefined package types.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance69

Regular maintenance activity

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~604 days

Total

4

Last Release

181d ago

Major Versions

v0.8.1 → v1.0.02025-10-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46478?v=4)[Cogent](/maintainers/cogent)[@cogent](https://github.com/cogent)

---

Top Contributors

[![cogentParadigm](https://avatars.githubusercontent.com/u/78707?v=4)](https://github.com/cogentParadigm "cogentParadigm (4 commits)")

### Embed Badge

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

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

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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