thomask/druid-bundle

Installs: 2 318

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 0

Type:symfony-bundle

dev-master 2016-11-22 09:45 UTC

This package is not auto-updated.

Last update: 2023-08-25 16:09:22 UTC


README

About

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.

Instalation

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"
    }
}

Configuration

tmk_druid:
    drivers:
        guzzle:
            scheme: http
            host: localhost
            port: 8082
            path: /druid/v2
            proxy: null
            timeout: null

Usage

This bundle creates the tmk_druid.client service. You can refer to the Druid PHP docs for further reference.