2017 © Pedro Peláez
 

symfony-bundle opcache-bundle

Displays the state of the PHP opcache in the Symfony profiler toolbar.

image

matthimatiker/opcache-bundle

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  • Tuesday, June 19, 2018
  • by Matthimatiker
  • Repository
  • 2 Watchers
  • 15 Stars
  • 26,523 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 4 Open issues
  • 17 Versions
  • 13 % Grown

The README.md

OpcacheBundle

Build Status Coverage Status, (*1)

Installation

Install the bundle via Composer:, (*2)

php composer.phar require --dev matthimatiker/opcache-bundle

Enable the bundle in your kernel:, (*3)

<?php
// app/AppKernel.php

public function registerBundles()
{
    / ...
    if (in_array($this->getEnvironment(), array('dev', 'test'))) {
        // ...
        $bundles[] = new Matthimatiker\OpcacheBundle\MatthimatikerOpcacheBundle();
    }
}

Configure Twig as template engine in your config.yml:, (*4)

framework:
    templating: { engines: ['twig'] }

Usage

After bundle activation, an additional info box shows up in the profiler toolbar. It provides quick access to the current memory usage and hit rate of the Opcache., (*5)

The detail page provides comprehensive information about memory state, cache key usage and cached scripts:, (*6)

Profiler page example, (*7)

Changelog

0.7.0 -> 0.7.1

  • Updated template reference syntax to be compatible to Symfony 4 with Symfony flex (thanks to David Ward)
    • Corresponding issue: #22
    • Corresponding Pull Request: #21

0.6.0 -> 0.7.0

  • Added support for Symfony 4 (thanks to PabloKowalczyk)
  • Dropped support for Symfony 2.3

0.5.0 -> 0.6.0

0.4.3 -> 0.5.0

  • Avoid conflict on installation with Symfony Flex
  • Dropped PHP 5 support
  • Dropped HHVM support

The Versions

06/08 2017

dev-feature/symfony-flex-support

dev-feature/symfony-flex-support

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

26/10 2016

0.4.3

0.4.3.0

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

03/05 2016

0.4.2

0.4.2.0

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

10/01 2016

0.4.1

0.4.1.0

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

27/10 2015

0.4.0

0.4.0.0

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

24/09 2015

dev-feature/add_bootstrap

dev-feature/add_bootstrap

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

22/09 2015

0.3.1

0.3.1.0

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

30/08 2015

0.3.0

0.3.0.0

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

19/08 2015

0.2.0

0.2.0.0

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

16/08 2015

0.1.0

0.1.0.0

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires

13/08 2015

0.0.2

0.0.2.0

Displays the state of the PHP opcache in the Symfony profiler toolbar.

  Sources   Download

MIT

The Requires

 

The Development Requires