PHPackages                             andrewrmillar/magento-check-module-usage - 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. andrewrmillar/magento-check-module-usage

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

andrewrmillar/magento-check-module-usage
========================================

A Magento 2 module to check module usage.

01PHP

Since Feb 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/AndrewRMillar/MagentoCheckModuleUsage)[ Packagist](https://packagist.org/packages/andrewrmillar/magento-check-module-usage)[ RSS](/packages/andrewrmillar-magento-check-module-usage/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Magento 2 Module: Check Module Usage
====================================

[](#magento-2-module-check-module-usage)

Overview
--------

[](#overview)

Module in Alpha, not recomended for use yet. This Magento 2 CLI module, primary for use in a develop environment, which helps determine whether a specific module is in use within a Magento installation. It checks:

- If the module is enabled.
- If the module has active configuration settings.
- If the module has database tables.
- If the module is referenced in theme files.

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

[](#installation)

### Copy or use composer

[](#copy-or-use-composer)

Clone the module in the `app/code/` directory and activate it through `bin/magento module:enable Vendor_ModuleCheck`. Or better yet use `composer install`

```
composer require --dev andrewrmillar/magento-check-module-usage`
bin/magento setup:upgrade
```

Usage
-----

[](#usage)

To check if a module is in use, run:

```
bin/magento module:check-usage Vendor_Module
```

Replace `Vendor_Module` with the actual module name (e.g., `Magento_Catalog`).

Features
--------

[](#features)

- **Checks if the module is enabled** using Magento's module registry.
- **Verifies module configuration settings** dynamically.
- **Checks for module-related database tables**.
- **Scans frontend theme files** for module references.

Example Output
--------------

[](#example-output)

```
Checking module: Vendor_Module
Module is enabled.
Module has active config settings:
path/to/some/config/value = 1
Found module-related database tables.
Module is referenced in theme files.
Check complete.

```

Uninstallation
--------------

[](#uninstallation)

To remove the module:

```
composer remove andrewrmillar/magento-check-module-usage
bin/magento setup:upgrade
```

License
-------

[](#license)

This module is open-source and provided under the MIT License.

Author
------

[](#author)

Developed by [AndrewRMillar](https://github.com/AndrewRMillar). Contributions are welcome!

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba8083fa4b71febd9f957b67c05de585cf5cda39c8f60c2f0bd1377aa45aa3e9?d=identicon)[AndrewRMillar](/maintainers/AndrewRMillar)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/andrewrmillar-magento-check-module-usage/health.svg)

```
[![Health](https://phpackages.com/badges/andrewrmillar-magento-check-module-usage/health.svg)](https://phpackages.com/packages/andrewrmillar-magento-check-module-usage)
```

###  Alternatives

[magento-hackathon/magento-composer-installer

Composer installer for Magento modules

214757.6k373](/packages/magento-hackathon-magento-composer-installer)[watson/breadcrumbs

Breadcrumbs made easy for Laravel.

4542.9k](/packages/watson-breadcrumbs)[faonni/module-customer-create-address

Show Address Fields in Customer Registration Form.

189.0k](/packages/faonni-module-customer-create-address)[chasegiunta/scss

Compiler for SCSS

148.6k1](/packages/chasegiunta-scss)

PHPackages © 2026

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