PHPackages                             pixelfederation/druid-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pixelfederation/druid-php

AbandonedArchivedLibrary

pixelfederation/druid-php
=========================

v2.0(8y ago)343.1k14[1 PRs](https://github.com/pixelfederation/druid-php/pulls)BSD-3-ClausePHP

Since Jul 13Pushed 8y ago9 watchersCompare

[ Source](https://github.com/pixelfederation/druid-php)[ Packagist](https://packagist.org/packages/pixelfederation/druid-php)[ RSS](/packages/pixelfederation-druid-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)Dependencies (8)Versions (9)Used By (0)

Druid PHP driver
================

[](#druid-php-driver)

This library provider a [Druid](http://druid.io/) PHP Driver.

[License](LICENSE)
------------------

[](#license)

Instalation
-----------

[](#instalation)

Installation of this library uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

Put the following into your composer.json

```
{
    "require": {
        "pixelfederation/druid-php": "dev-master"
    }
}

```

Current State
-------------

[](#current-state)

Currently this driver supports **GroupBy, TopN** and **Timeseries** aggregation types, and **Search** query type. Everybody is welcome to create pull requests to implement some of the missing things.

Also, some unit tests are bound to running on our internal Druid instance, there is plan to change it to docker container with some testing data.

Usage
-----

[](#usage)

### Average aggregation

[](#average-aggregation)

```
