element119 / module-admin-opcache-report
element119/module-admin-opcache-report
A Magento 2 module to show some PHP OpCache-related information in the admin.
element119 | Admin OpCache Report
📝 Features
✔️ Provides a current health check of the PHP OpCache
✔️ Flush PHP OpCache from the admin
✔️ Theme agnostic
✔️ Built in accordance with Magento best practises
✔️ Dedicated module configuration section and custom admin user controls
✔️ Seamless integration with Magento
✔️ Built with developers and extensibility in mind to make customisations as easy as possible
✔️ Installable via Composer
⏳ Logging of OpCache statistics for temporal analysis
⏳ Data visualisation
🔌 Installation
Run the following command to install this module:
composer require element119/module-admin-opcache-report
php bin/magento setup:upgrade
⏫ Updating
Run the following command to update this module:
composer update element119/module-admin-opcache-report
php bin/magento setup:upgrade
❌ Uninstallation
Run the following command to uninstall this module:
composer remove element119/module-admin-opcache-report
php bin/magento setup:upgrade
📚 User Guide
Configuration for this module can be found in the Magento admin under Stores -> Settings -> Configuration -> Advanced -> System -> PHP OpCache Report.
OpCache Report
The OpCache information can be found in the admin under System -> Tools -> PHP OpCache Report.
Memory Units
The units used when referencing memory in the OpCache report. The default value is GB.
Float Precision
The number of decimal places to use in the OpCache report.
Date Format
The date format to use in the OpCache report. Supports
PHP date formats.
📸 Screenshots & GIFs
Report - OpCache Disabled
Report - OpCache Enabled
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
Requires 3
| Package | Constraint |
|---|---|
| php | ~8.1.0 || ~8.2.0 || ~8.3.0 |
| hyva-themes/module-magento2-admin | ^1.1 |
| magento/module-backend | * |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from element119
View vendorTurn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.