Skip to content

swissup/module-diagnostic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swissup Diagnostic Module for Magento 2

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 or 3rd-party 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

# Disable all currently enabled 3rd-party modules, except Magento_ and Swissup_ (saves state for later restoration)
bin/magento swissup:info:disable-thirdparty

# Enable previously disabled 3rd-party modules (restores original state)
bin/magento swissup:info:enable-thirdparty

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

About

Displays Swissup Developr Info

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages