Download the PHP package amadeco/module-opcache-gui without Composer

On this page you can find all versions of the php package amadeco/module-opcache-gui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-opcache-gui

OPcache GUI for Magento 2

Latest Stable Version Magento 2 PHP License

Advanced OPcache monitoring and control GUI for Magento 2, implemented with React for a responsive and modern experience (https://github.com/amnuts/opcache-gui).

Capture d’écran 2025-08-19 à 20 51 57

Features

Installation

Option 1: Composer (Recommended)

This extension uses CDN-hosted React components and doesn't require static content generation, allowing installation with the --keep-generated flag.

Option 2: Manual Installation

  1. Download or clone the repository
  2. Copy the files to app/code/Amadeco/OpcacheGui/
  3. Run the following commands:

Usage

Accessing the Dashboard

Navigate to System → React → PHP OpCache Dashboard in your Magento Admin Panel.

OPcache Optimization Guide

Recommended PHP OPcache Settings for Magento 2

Technical Tips

Tip 1: Calculate Your Required Cache Size

Set opcache.max_accelerated_files to this number plus a 25% margin, rounded to the nearest higher prime number for optimal hash table performance.

Tip 2: Implement Selective PHP Preloading

For Magento 2, selective preloading is vastly more efficient than preloading all files:

References:

Tip 3: Avoid JIT Compilation for Magento 2

JIT compilation causes segfaults with Magento 2 and provides minimal performance gains:

Reference: Magento 2 PHP 8.2 JIT Performance Analysis

Tip 4: Blacklist Non-Essential Files

Create an opcache.blacklist file to exclude test directories and rarely-used files:

Then reference it in your php.ini or pool configuration:

Tip 5: Separate CLI and Web Process Configurations

For optimal performance, maintain distinct OPcache configurations for CLI and web processes:

CLI Configuration (/etc/php/8.x/cli/php.ini):

Web Processes Configuration (/etc/php/8.x/fpm/php.ini):

Key Differences Explained:

Setting CLI Web Reason
memory_consumption 512MB 1024MB CLI needs less memory since it handles one command at a time
interned_strings_buffer 32MB 256MB Web processes handle more unique strings from templates
validate_timestamps On Off CLI tools need to see file changes immediately
file_cache_only On Off CLI benefits from file-based cache for persistence
max_accelerated_files 30000 120000 CLI uses fewer files than web processes
log_verbosity_level 3 2 More detailed logging helps with CLI debugging

Tip 6: PHP-FPM Pool Partitioning for Frontend and Admin

Split your PHP-FPM configuration into separate pools for frontend and admin:

Then configure NGINX to route requests accordingly:

Benefits:

Configuration Location Matters

OPcache memory settings must be configured in php.ini rather than in PHP-FPM pool configuration files:

  1. Initialization Order: OPcache initializes early in PHP's startup process, before pool configurations are processed

  2. Shared Memory Allocation: Settings like memory_consumption define system-level allocations that must be consistent across PHP-FPM pools

  3. Global vs. Pool-specific Settings: Some directives only work when set globally in php.ini

Credits

License

MIT License


All versions of module-opcache-gui with dependencies

PHP Build Version
Package Version
Requires amnuts/opcache-gui Version ^3.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package amadeco/module-opcache-gui contains the following files

Loading the files please wait ...