Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/element119/module-admin-opcache-report

A Magento 2 module to show some PHP OpCache-related information in the admin.
https://github.com/element119/module-admin-opcache-report

admin magento2 monitoring performance reporting

Last synced: 3 days ago
JSON representation

A Magento 2 module to show some PHP OpCache-related information in the admin.

Awesome Lists containing this project

README

        

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:
```bash
composer require element119/module-admin-opcache-report
php bin/magento setup:upgrade
```


## ⏫ Updating
Run the following command to *update* this module:
```bash
composer update element119/module-admin-opcache-report
php bin/magento setup:upgrade
```


## ❌ Uninstallation
Run the following command to *uninstall* this module:
```bash
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](https://www.php.net/manual/en/datetime.format.php).


## 📸 Screenshots & GIFs
### Report - OpCache Disabled
![e119-opcache-report-disabled](https://github.com/user-attachments/assets/159b9649-0b9a-4833-ac06-eb0ef3a49193)

### Report - OpCache Enabled
![e119-opcache-report-enabled](https://github.com/user-attachments/assets/0fc0e43c-3ede-49b8-a7ba-12d609e82e4b)