PHPackages                             sampurn/module-inspector - 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. [CLI &amp; Console](/categories/cli)
4. /
5. sampurn/module-inspector

ActiveMagento2-module[CLI &amp; Console](/categories/cli)

sampurn/module-inspector
========================

Magento 2 CLI command that reports installed third-party modules with version and enabled status. A quick first step when auditing an unfamiliar store.

001PHP

Since Jul 15Pushed 1mo agoCompare

[ Source](https://github.com/sampurnmishra/magento2-module-inspector)[ Packagist](https://packagist.org/packages/sampurn/module-inspector)[ RSS](/packages/sampurn-module-inspector/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Sampurn\_ModuleInspector
========================

[](#sampurn_moduleinspector)

A small Magento 2 CLI module that reports every installed **third-party module** with its version and enabled status — the first command I run when auditing an unfamiliar store.

```
$ bin/magento sampurn:module:report

+---------------------------+----------+----------+
| Module                    | Version  | Status   |
+---------------------------+----------+----------+
| Amasty_Base               | 1.15.5   | enabled  |
| Hyva_Theme                | 1.3.10   | enabled  |
| OldVendor_AbandonedThing  | app/code | disabled |
+---------------------------+----------+----------+
3 module(s) listed.

```

Why
---

[](#why)

The very first question on any Magento audit, rescue, or upgrade estimate is: *what has been added to this installation?* Core Magento is a known quantity — the third-party modules are where the surprises (and most upgrade blockers) live. This command answers that question in one step, including modules installed in `app/code` that composer doesn't know about.

Install
-------

[](#install)

```
composer require sampurn/module-inspector
bin/magento module:enable Sampurn_ModuleInspector
bin/magento setup:upgrade
```

Or manually: copy this repository to `app/code/Sampurn/ModuleInspector`, then run the two `bin/magento`commands above.

Usage
-----

[](#usage)

```
# Third-party modules only (default)
bin/magento sampurn:module:report

# Include Magento core modules
bin/magento sampurn:module:report --all

# Only disabled modules — abandoned code that should probably be removed
bin/magento sampurn:module:report --disabled-only
```

Version resolution: modules installed via composer show their package version; modules living in `app/code` are marked `app/code` (they have no composer package entry — itself useful audit information).

Compatibility
-------------

[](#compatibility)

- Magento 2.4.4+ / Adobe Commerce 2.4.4+
- PHP 8.1 – 8.3

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance60

Regular maintenance activity

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

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/6cfdf995753e8be5a2fbea99815bde5a82aac1a4b078784ef88053c5e6829be6?d=identicon)[sampurnmishra](/maintainers/sampurnmishra)

---

Top Contributors

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

---

Tags

adobe-commerceclimagento2magento2-module

### Embed Badge

![Health badge](/badges/sampurn-module-inspector/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13747.3M7.7k](/packages/illuminate-console)[ibex/crud-generator

Laravel CRUD Generator

707260.3k](/packages/ibex-crud-generator)[fuel/oil

FuelPHP 1.x Oil Package

1051.3M5](/packages/fuel-oil)[wp-cli/import-command

Imports content from a given WXR file.

218.4M8](/packages/wp-cli-import-command)[styleci/cli

The CLI tool for StyleCI

71485.3k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20724.1k21](/packages/winbox-args)

PHPackages © 2026

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