Download the PHP package szepeviktor/magento-critical-site-health without Composer
On this page you can find all versions of the php package szepeviktor/magento-critical-site-health. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download szepeviktor/magento-critical-site-health
More information about szepeviktor/magento-critical-site-health
Files in szepeviktor/magento-critical-site-health
Package magento-critical-site-health
Short Description Declarative YAML-based Magento 2 site health checks for n98-magerun2
License MIT
Informations about the package magento-critical-site-health
Magento Critical Site Health
Declarative YAML-based monitor command for Magento 2, packaged as a Magento module and exposed as an n98-magerun2 custom command.
Scope
The command is read-only. It collects warnings, exits with a non-zero status when any warning is found, and exits successfully when all checks pass.
Supported check types:
configenvstoremoduleclasscacheindexerdb_queryshellobject_methodeval
Installation
Install the package into a Magento 2 project. n98-magerun2 discovers the bundled n98-magerun2.yaml file from vendor/ and registers the custom command.
Command
The command fails fast if Magento cannot be detected or bootstrapped.
Configuration
Example:
Notes
configvalues are read viaScopeConfigInterface.envvalues are read fromDeploymentConfig.storesupportsstore_code.fieldandstore_code.config:path/to/value.object_methodresolves Magento services via the object manager for non-static methods.evalexpressions must returntrue. Parse errors and runtime exceptions are reported as warnings.
Magento Examples
All versions of magento-critical-site-health with dependencies
magento/framework Version ^103.0 || ^104.0
symfony/yaml Version ^5.4 || ^6.4