element119 / module-admin-opcache-report

A Magento 2 module to show some PHP OpCache-related information in the admin.
MIT License
47 stars 9 forks source link
admin magento2 monitoring performance reporting

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

e119-opcache-report-disabled

Report - OpCache Enabled

e119-opcache-report-enabled