swissup/module-diagnostic

Swissup Diagnostic Module

Installs: 186

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 1

Type:magento2-module

pkg:composer/swissup/module-diagnostic

1.0.8 2025-11-12 14:40 UTC

This package is auto-updated.

Last update: 2025-11-12 14:58:58 UTC


README

The Swissup Diagnostic module is a tool designed for Magento 2 store owners and developers to gather essential information about their Magento environment. This command-line utility provides an overview of the PHP, Magento, and server-related details.

Key Features:

  • Environment Information: Details such as PHP version, Magento version, Composer version, and server user information.

  • Folder Structure Check: Verify if any default Magento and Swissup modules/themes were not overwritten.

  • Magento 2 Theme Data: Display a table of Magento 2 themes to check if no virtual themes exist.

  • Fixing the virtual themes

  • Assets Optimization Manager: Enable/disable JS and CSS merge and minification settings.

  • Module Management: Disable/enable all Swissup modules while preserving their original state.

Usage:

Execute the following commands to use the diagnostic tools:

# Display environment and system information
bin/magento swissup:info

# Fix virtual themes
bin/magento swissup:info:virtualfix

# Manage JS/CSS optimization settings
bin/magento swissup:info:assets

# Enable all optimizations (merge and minify JS/CSS/HTML)
bin/magento swissup:info:assets --enable-all

# Disable all optimizations
bin/magento swissup:info:assets --disable-all

# Enable specific settings
bin/magento swissup:info:assets --merge-css=1 --minify-css=1
bin/magento swissup:info:assets --merge-js=1 --minify-js=1
bin/magento swissup:info:assets --bundle-js=1 --minify-html=1

# Disable specific settings
bin/magento swissup:info:assets --merge-css=0 --minify-js=0

# Disable all currently enabled Swissup modules (saves state for later restoration)
bin/magento swissup:info:disable-swissup

# Enable previously disabled Swissup modules (restores original state)
bin/magento swissup:info:enable-swissup

Installation

For clients

There are several ways to install extension for clients:

  1. If you've bought the product at Magento's Marketplace - use Marketplace installation instructions
  2. Otherwise, you have two options:

For developers

Use this approach if you have access to our private repositories!

composer config repositories.swissup composer https://docs.swissuplabs.com/packages/
composer require swissup/module-diagnostic:dev-master --prefer-source
bin/magento setup:upgrade