cedriclombardot/pinba-bundle

Pinba bundle for symfony2

Installs: 89

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 3

Forks: 4

Open Issues: 1

Type:symfony-bundle

dev-master 2013-02-22 15:45 UTC

This package is auto-updated.

Last update: 2024-11-24 05:00:39 UTC


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:           {}