PHPackages                             austinheap/laravel-database-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. austinheap/laravel-database-influxdb

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

austinheap/laravel-database-influxdb
====================================

A package for accessing InfluxDB from Laravel 5.5+, based on configuration settings.

v0.1.8(8y ago)133.9k6[1 issues](https://github.com/austinheap/laravel-database-influxdb/issues)MITPHP

Since Nov 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/austinheap/laravel-database-influxdb)[ Packagist](https://packagist.org/packages/austinheap/laravel-database-influxdb)[ Docs](https://github.com/austinheap/laravel-database-influxdb)[ RSS](/packages/austinheap-laravel-database-influxdb/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (7)Versions (5)Used By (0)

Laravel 5.5+ InfluxDB Database Package
======================================

[](#laravel-55-influxdb-database-package)

[![Current Release](https://camo.githubusercontent.com/e54d2eaf723eaa7e93fd395b6d39d85caaadcd9dd08d1d9dec25384e62fc3517/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f61757374696e686561702f6c61726176656c2d64617461626173652d696e666c757864622e737667)](https://github.com/austinheap/laravel-database-influxdb/releases)[![Total Downloads](https://camo.githubusercontent.com/a28d6e4ca9586355604573f01ffbd57af26fcb983e373fe263d292a4ebb0a2af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61757374696e686561702f6c61726176656c2d64617461626173652d696e666c757864622e737667)](https://packagist.org/packages/austinheap/laravel-database-influxdb)[![Build Status](https://camo.githubusercontent.com/a40d7f37b76bc71631f129a0e606f1084b28d3cfb184ef477db52efcacc44f88/68747470733a2f2f7472617669732d63692e6f72672f61757374696e686561702f6c61726176656c2d64617461626173652d696e666c757864622e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/austinheap/laravel-database-influxdb)[![Dependency Status](https://camo.githubusercontent.com/16fedb716e522ec95cf7ad9d21640646d9c97182a3b59494cd55e28d37fd17b8/68747470733a2f2f67656d6e617369756d2e636f6d2f6261646765732f6769746875622e636f6d2f61757374696e686561702f6c61726176656c2d64617461626173652d696e666c757864622e737667)](https://gemnasium.com/github.com/austinheap/laravel-database-influxdb)[![Scrutinizer CI](https://camo.githubusercontent.com/258ae8062b0b25193a0c4a400a295aa591d50cc8444ae2cd3ef6263a813558f9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61757374696e686561702f6c61726176656c2d64617461626173652d696e666c757864622f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/austinheap/laravel-database-influxdb/)[![StyleCI](https://camo.githubusercontent.com/7462f01cef8c65603351e0e45830c767462f789ff7d6e29860f14a0e0ca08085/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131303932363838392f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/110926889)[![Maintainability](https://camo.githubusercontent.com/dcf6b16062f1df478d49e587962f4deb71e4022bcf31f6f259fdc2fd5e1e16a0/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62383866646533396234373963353364306466342f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/austinheap/laravel-database-influxdb/maintainability)[![Test Coverage](https://camo.githubusercontent.com/27c225c40b699b4c9be2864c072b7bf6aaf85303d0801bc63e280fd8ef273315/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62383866646533396234373963353364306466342f746573745f636f766572616765)](https://codeclimate.com/github/austinheap/laravel-database-influxdb/test_coverage)[![SensioLabs](https://camo.githubusercontent.com/23ba0727770f1a5ea623d14510d1ae8b24f642cee509dd6a18389c147fd6e977/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64633032303638372d633635332d343266302d623030362d3739643563373734326662302f6d696e692e706e67)](https://insight.sensiolabs.com/projects/dc020687-c653-42f0-b006-79d5c7742fb0)

A package for accessing InfluxDB from Laravel 5.5+, based on configuration settings.
------------------------------------------------------------------------------------

[](#a-package-for-accessing-influxdb-from-laravel-55-based-on-configuration-settings)

There is [documentation for `laravel-database-influxdb` online](https://austinheap.github.io/laravel-database-influxdb/), the source of which is in the [`docs/`](https://github.com/austinheap/laravel-database-influxdb/tree/master/docs)directory. The most logical place to start are the [docs for the `InfluxDbServiceProvider` class](https://austinheap.github.io/laravel-database-influxdb/classes/AustinHeap.Database.InfluxDb.InfluxDbServiceProvider.html).

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

[](#installation)

### Step 1: Composer

[](#step-1-composer)

Via Composer command line:

```
$ composer require austinheap/laravel-database-influxdb
```

Or add the package to your `composer.json`:

```
{
    "require": {
        "austinheap/laravel-database-influxdb": "0.1.*"
    }
}
```

### Step 2: Enable the package (Optional)

[](#step-2-enable-the-package-optional)

This package implements Laravel 5.5's auto-discovery feature. After you install it the package provider and facade are added automatically.

If you would like to declare the provider and/or alias explicitly, then add the service provider to your `config/app.php`:

```
'providers' => [
    //
    AustinHeap\Database\InfluxDb\InfluxDbServiceProvider::class,
];
```

And then add the alias to your `config/app.php`:

```
'aliases' => [
    //
    'InfluxDb' => AustinHeap\Database\InfluxDb\InfluxDbFacade::class,
];
```

### Step 3: Configure the package

[](#step-3-configure-the-package)

Publish the package config file:

```
$ php artisan vendor:publish --provider="AustinHeap\Database\InfluxDb\InfluxDbServiceProvider"
```

You may now place your defaults in `config/influxdb.php`.

Full .env Example
-----------------

[](#full-env-example)

To override values in `config/influxdb.php`, simply add the following to your .env file:

```
INFLUXDB_PROTOCOL=https
INFLUXDB_USER=my-influxdb-user
INFLUXDB_PASS=my-influxdb-pass
INFLUXDB_HOST=my-influxdb.server
```

References
----------

[](#references)

- [influxdata/influxdb-php](https://github.com/influxdata/influxdb-php)

Credits
-------

[](#credits)

This is a fork of [pdffiller/laravel-influx-provider](https://github.com/pdffiller/laravel-influx-provider).

- [pdffiller/laravel-influx-provider Contributors](https://github.com/pdffiller/laravel-influx-provider/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

Every ~35 days

Total

4

Last Release

2994d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/892b0beaeaa56c4c759fe22312349c10cf805da0071421350e56e4e9ef48fa41?d=identicon)[austinheap](/maintainers/austinheap)

---

Top Contributors

[![austinheap](https://avatars.githubusercontent.com/u/80980?v=4)](https://github.com/austinheap "austinheap (22 commits)")

---

Tags

composercomposer-packagedatabasedatabasesinfluxinfluxdblaravellaravel-5-packagelaravel5laravel55phpphp7php70php71php72timeseriestimeseries-datatimeseries-databaselaraveldatabaseinfluxdbinfluxtimeseriesInflux DB

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/austinheap-laravel-database-influxdb/health.svg)

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

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[tpetry/laravel-query-expressions

Database-independent Query Expressions as a replacement to DB::raw calls

357436.5k2](/packages/tpetry-laravel-query-expressions)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[illuminatech/config

Provides support for Laravel application runtime configuration managed in persistent storage

14921.0k1](/packages/illuminatech-config)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)[vectorial1024/laravel-cache-evict

Efficiently remove expired Laravel file/database cache data

5813.2k](/packages/vectorial1024-laravel-cache-evict)

PHPackages © 2026

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