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
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
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-01