This bundle integrates Druid PHP into your Symfony2 application. It exposes the library as a service and includes a data collector that adds information about performed queries to the Symfony profiler.
Installation of this library uses composer. For composer documentation, please refer to getcomposer.org.
Put the following into your composer.json
{
"require": {
"thomask/druid-bundle": "dev-master"
}
}
tmk_druid:
scheme: http
host: localhost
port: 8082
path: /druid/v2
proxy: null
This bundle creates the tmk_druid.client
service. You can refer to the Druid PHP docs for further reference.