kowal.info

Extension Audit

Composer kowal/extension-audit · Version 1.0.21

Product page

Extension Audit — kowal.co

Description

Inventories Magento extensions and compares their state before and after a deployment.

For whom

For maintenance teams tracking changes to installed modules, Composer packages and versions.

Features

  • Filter scans by source, vendor or package.
  • Capture manual snapshots before and after an update.
  • Optionally record automatic snapshots when extension state changes.

Installation

From the Magento root, with Composer access to the Kowal package, run

composer require kowal/extension-audit
bin/magento module:enable Kowal_ExtensionAudit
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

  1. Run bin/magento kowal:extension-audit:scan --vendors to review the vendor breakdown.
  2. Before updating, capture a baseline with bin/magento kowal:extension-audit:snapshot:create "Before update" --type=before_update.
  3. To maintain an automatic history, enable scheduled checks under Extension Audit → Automatic Snapshots, then choose a frequency and retention limit.

Requirements / notes

The package requires PHP matching ^8.1 and kowal/base. Scheduled checks require Magento cron. The retention limit applies to automatic snapshots.

FAQ

Why did a scheduled check finish without creating a snapshot?

Scheduled checks create a snapshot when module state changes. Create a manual snapshot when you need a baseline at a specific time.

Verify the installation

bin/magento module:status Kowal_ExtensionAudit

On staging, take a snapshot before a planned module update. After updating, create a second snapshot with type after_update. Compare the snapshots and confirm the package name and version change.