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