Symfony Bundle that provides an OpCache GUI based on https://github.com/amnuts/opcache-gui



OpCache GUI Bundle

This is a Symfony Bundle that provides an OpCache GUI based on amnuts/opcache-gui repository.

Install process

To get a copy of this vendor just run composer as usual:

$ php composer.phar require davidgarciacat/opcache-gui-bundle

Once downloaded, you will need to enable this bundle, so you will need to edit your project's app/AppKernel.php file:


// use statements here

class AppKernel extends Kernel
    public function registerBundles()
        $bundles = array(
            // other bundles here
            new DavidGarciaCat\OpCacheBundle\DGOpCacheBundle(),

        // other content here

This project is using a PHP template (instead of Twig) so you will need to enable PHP as a Templating Engine if you have not enabled it yet:

# app/config/config.yml
        engines: ['twig', 'php']

And finally you will need to add a new routing configuration:

# app/config/routing.yml
    resource: "@DGOpCacheBundle/Controller/"
    type:     annotation
    prefix:   /

By default this Bundle provides the OpCache GUI on this URI: /opcache. If you have added a prefix when you added the new routing.yml configuration, please don't forget to add it too.


If you find an issue, given this project is based on the original source code, please refer to amnuts/opcache-gui repository.


If you're feeling comfortable applying updates and you think this project can be improved, feel free to send a new Pull Request to be reviewed and merged.