2017 © Pedro Peláez
 

library laravel-database-influxdb

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

image

austinheap/laravel-database-influxdb

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

  • Saturday, March 3, 2018
  • by austinheap
  • Repository
  • 1 Watchers
  • 4 Stars
  • 562 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 77 % Grown

The README.md

Laravel 5.5+ InfluxDB Database Package

Current Release Total Downloads Build Status Dependency Status Scrutinizer CI StyleCI Maintainability Test Coverage SensioLabs, (*1)

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

There is documentation for laravel-database-influxdb online, the source of which is in the docs/ directory. The most logical place to start are the docs for the InfluxDbServiceProvider class., (*2)

Installation

Step 1: Composer

Via Composer command line:, (*3)

$ composer require austinheap/laravel-database-influxdb

Or add the package to your composer.json:, (*4)

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

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., (*5)

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

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

And then add the alias to your config/app.php:, (*7)

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

Step 3: Configure the package

Publish the package config file:, (*8)

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

You may now place your defaults in config/influxdb.php., (*9)

Full .env Example

To override values in config/influxdb.php, simply add the following to your .env file:, (*10)

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

References

Credits

This is a fork of pdffiller/laravel-influx-provider., (*11)

License

The MIT License (MIT). Please see License File for more information., (*12)

The Versions

03/03 2018

dev-master

9999999-dev https://github.com/austinheap/laravel-database-influxdb

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

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel timeseries influxdb influx influx-db

03/03 2018

v0.1.8

0.1.8.0 https://github.com/austinheap/laravel-database-influxdb

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

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel timeseries influxdb influx influx-db

24/12 2017

v0.1.7

0.1.7.0 https://github.com/austinheap/laravel-database-influxdb

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

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel timeseries influxdb influx influx-db

18/11 2017

v0.1.6

0.1.6.0 https://github.com/austinheap/laravel-database-influxdb

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

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel timeseries influxdb influx influx-db

17/11 2017

v0.1.5

0.1.5.0 https://github.com/austinheap/laravel-database-influxdb

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

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel timeseries influxdb influx influx-db