cedriclombardot/pinba-bundle 问题修复 & 功能扩展

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

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

cedriclombardot/pinba-bundle

Composer 安装命令:

composer require cedriclombardot/pinba-bundle

包简介

Pinba bundle for symfony2

README 文档

README

Setup

Add in your composer.json :

"require": {
   "cedriclombardot/pinba-bundle": "dev-master"
}

Configure your kernel

$bundles = array(
    new Cedriclombardot\PinbaBundle\CedriclombardotPinbaBundle(),
);

Custom script name rendering

# config.yml
pinba:
    script_name_pattern: "{PATH_INFO}" # use routing synthax to inject more server params into pinba script name log

With propel

Update your config.yml

propel:
    dbal:
        connections:
            default:
                classname:            "Cedriclombardot\\PinbaBundle\\Propel\\PinbaPropelPDO"
                driver:               %database_driver%
                user:                 %database_user%
                password:             %database_password%
                dsn:                  %database_driver%:host=%database_host%;dbname=%database_name%;port=%database_port%;charset=UTF8
                options:              {}
                attributes:           {}

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-11-10