senseexception/datacollector-bundle 问题修复 & 功能扩展

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

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

senseexception/datacollector-bundle

最新稳定版本:1.1.0

Composer 安装命令:

composer require senseexception/datacollector-bundle

包简介

An example bundle for creating additional DataCollector extending Symfony's Profiler

README 文档

README

SensioLabsInsight

A simple example Symfony Bundle for creating additional DataCollectors and adding them to Symfony's Profiler.

This Bundle adds a new DataCollector for client ip info to the Symfony Profiler menu, panel and toolbar to show how the Profiler can be extended in Symfony. Feel free to use this as template for your own Profiler extension.

Installation

Add the following package to your composer.json

"require-dev": {
    "senseexception/datacollector-bundle": "1.1.0"
}

and add the bundle to your AppKernel.php

// app/AppKernel.php
//...
class AppKernel extends Kernel
{
    //...
    public function registerBundles()
    {
        //...
        if (in_array($this->getEnvironment(), array('dev', 'test'), true)) {
            //...
            $bundles[] = new SenseException\Bundle\DataCollectorBundle\DataCollectorBundle();
        }
        //...

        return $bundles;
    }
    //...
}

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-01