PHPackages                             iankibet/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. [Database &amp; ORM](/categories/database)
4. /
5. iankibet/influxdb

ActiveLibrary[Database &amp; ORM](/categories/database)

iankibet/influxdb
=================

Laravel package for interacting with influxDB

1.0.0(1y ago)027MITPHPPHP ^8.1

Since Jul 30Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

InfluxDB Integration for Laravel
================================

[](#influxdb-integration-for-laravel)

Installation
------------

[](#installation)

1. Install the package via Composer:

```
composer require iankibet/influxdb
```

2. Publish the configuration file:

```
php artisan vendor:publish --provider="Iankibet\InfluxDB\InfluxDBServiceProvide"
```

3. Configure the package by setting the following environment variables in your `.env` file:

```
INFLUXDB_HOST=127.0.0.1
INFLUXDB_PORT=8086
INFLUXDB_TOKEN=
INFLUXDB_BUCKET=
INFLUXDB_ORG=
```

Usage
-----

[](#usage)

### Writing Data

[](#writing-data)

```
use Iankibet\InfluxDb\InfluxDbPoint;
use Iankibet\InfluxDb\Facades\InfluxDb;

// in your controller/method
$point = new InfluxDbPoint();
$point->setMeasurement('measurement_name');
$point->setTags(['tag_key' => 'tag_value']);
$point->setFields(['field_key' => 'field_value']);
$point->setTime(time());

InfluxDb::write($point);
```

### Querying Data

[](#querying-data)

```
use Iankibet\InfluxDb\Facades\InfluxDb;
$measurement = 'measurement_name';
$fields = [
    'key1'=>'value1',
    'key2'=>'value2'
];
$from = '2021-01-01T00:00:00Z';
$to = '2021-01-02T00:00:00Z';
$res = InfluxDb::query('measurement_name', $fields, $from, $to);
```

For more details, visit the [InfluxDB Integration for Laravel: A Comprehensive Guide](https://iankibet.com/packages/laravel/influxdb).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

648d ago

### Community

Maintainers

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

---

Top Contributors

[![iankibet](https://avatars.githubusercontent.com/u/10730525?v=4)](https://github.com/iankibet "iankibet (1 commits)")

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.3k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M543](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M209](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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