matthimatiker/opcache-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

matthimatiker/opcache-bundle

Composer 安装命令:

composer require matthimatiker/opcache-bundle

包简介

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

README 文档

README

Build Status Coverage Status

Installation

Install the bundle via Composer:

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

Enable the bundle in your kernel:

<?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:

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.

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

Profiler page example

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

统计信息

  • 总下载量: 88.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 22
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 22
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固