PHPackages                             corley/dbal-influxdb - 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. corley/dbal-influxdb

ActiveLibrary

corley/dbal-influxdb
====================

8144PHP

Since Jul 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/corley/dbal-influxdb)[ Packagist](https://packagist.org/packages/corley/dbal-influxdb)[ RSS](/packages/corley-dbal-influxdb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Doctrine DBAL for InfluxDB
==========================

[](#doctrine-dbal-for-influxdb)

[![Circle CI](https://camo.githubusercontent.com/592b4cc1cf7afe21efb832b721565a9aaa3588a4d36caee6b1d969fd22c0a059/68747470733a2f2f636972636c6563692e636f6d2f67682f636f726c65792f6462616c2d696e666c757864622f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/corley/dbal-influxdb/tree/master)[![Code Coverage](https://camo.githubusercontent.com/82151fc7658cc6625d6825b8a8b498926000388c1b83ee7de38d07eae256432f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f726c65792f6462616c2d696e666c757864622f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/corley/dbal-influxdb/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/90cc826a8625598c55ffdee777d5b4ac76846c143be4af384ea31df663d06518/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f726c65792f6462616c2d696e666c757864622f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/corley/dbal-influxdb/?branch=master)

InfluxDB driver for Doctrine DBAL (Abstraction Layer)

Query builder
-------------

[](#query-builder)

```
$qb = $conn->createQueryBuilder();

$qb->select("*")
    ->from("cpu_load_short")
    ->where("time = ?")
    ->setParameter(0, 1434055562000000000);

$data = $qb->execute();
foreach ($data->fetchAll() as $element) {
    // Use your element
}
```

Create a connection
-------------------

[](#create-a-connection)

```
$config = new \Doctrine\DBAL\Configuration();
//..
$connectionParams = array(
    'dbname' => 'mydb',
    'user' => 'root',
    'password' => 'root',
    'host' => 'localhost',
    'port' => 8086,
    "driverClass" => "Corley\\DBAL\\Driver\\InfluxDB",
);
$conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c4765ec4150d94839948ac55e8d87bdaf2af9a7b96fc2cd023dca366d54ff9ca?d=identicon)[wdalmut](/maintainers/wdalmut)

---

Top Contributors

[![wdalmut](https://avatars.githubusercontent.com/u/551974?v=4)](https://github.com/wdalmut "wdalmut (12 commits)")

### Embed Badge

![Health badge](/badges/corley-dbal-influxdb/health.svg)

```
[![Health](https://phpackages.com/badges/corley-dbal-influxdb/health.svg)](https://phpackages.com/packages/corley-dbal-influxdb)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
