Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1011 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 1011 Bytes

PinbaBundle

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