thomask/druid-bundle

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Maintainers

Package info

github.com/thomask/TmkDruidBundle

Type:symfony-bundle

pkg:composer/thomask/druid-bundle

Statistics

Installs: 2 318

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

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.