Download the PHP package elemenx/laravel-database-influxdb without Composer
On this page you can find all versions of the php package elemenx/laravel-database-influxdb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elemenx/laravel-database-influxdb
More information about elemenx/laravel-database-influxdb
Files in elemenx/laravel-database-influxdb
Package laravel-database-influxdb
Short Description A package for accessing InfluxDB from Laravel 5.5+, based on configuration settings.
License MIT
Homepage https://github.com/elemenx/laravel-database-influxdb
Informations about the package laravel-database-influxdb
Installation
Step 1: Composer
Via Composer command line:
Or add the package to your composer.json
:
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
:
And then add the alias to your config/app.php
:
Step 3: Configure the package
Publish the package config file:
You may now place your defaults in config/influxdb.php
.
Full .env Example
To override values in config/influxdb.php
, simply add the following to your .env file:
References
Credits
This is a fork of pdffiller/laravel-influx-provider.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-database-influxdb with dependencies
illuminate/support Version ^5.8
influxdb/influxdb-php Version ^1.14
monolog/monolog Version *