sampurn/module-inspector
Composer 安装命令:
composer require 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.
README 文档
README
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
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
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
# 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
- Magento 2.4.4+ / Adobe Commerce 2.4.4+
- PHP 8.1 – 8.3
License
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-15