Magento 2 module in vendor but inactive. How to read an Extension Audit

1 min read

Two silver modules in a tray and a separate empty slot for a third component

When an extension’s files are under vendor, check the package name and version, the module’s registered path and its Magento status. One package can supply several modules with different activation states.

Check the package and module in the same installation

Run composer show demo/catalog-suite with the real package name. Then read bin/magento module:status and compare the module name with its entry in app/etc/config.php. Extension Audit 1.0.21 combines the registered path, Composer metadata and the deployment configuration status. Check vendor/composer/installed.json for installed versions. Kowal Extension Audit. Composer show. Magento module status.

Read three different audit records

In the local test, two modules were matched to the same package. One was enabled and the other was disabled. In the third case the audit saw a configuration entry with no registered path or matching package.

Three records from the local test
Magento moduleComposer packageRegistered pathConfig valueAudit statusReading
Demo_Catalogdemo/catalog-suitevendor/demo/catalog-suite1enabledPackage present, module enabled
Demo_CatalogExtrademo/catalog-suitevendor/demo/catalog-suite/Extra0disabledPackage present, module disabled
Demo_OldNo package matchNo registered path0disabledDisabled configuration entry

Record the environment, deployed release, expected state and observation. For a disabled module, check the deployment decision. For a config entry with no path, compare the code and config from the same release. If an enabled module produces an unexpected result, reproduce the specific feature in the relevant store view and check its own settings. Extension Audit documentation.

For comparing full installation inventories, see the earlier snapshot guide.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)