- Notifications
You must be signed in to change notification settings - Fork6
A package for accessing InfluxDB from Laravel 5.5+, based on configuration settings.
austinheap/laravel-database-influxdb
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
There isdocumentation forlaravel-database-influxdb online,the source of which is in thedocs/directory. The most logical place to start are thedocs for theInfluxDbServiceProvider class.
Via Composer command line:
$ composer require austinheap/laravel-database-influxdb
Or add the package to yourcomposer.json:
{"require": {"austinheap/laravel-database-influxdb":"0.1.*" }}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 yourconfig/app.php:
'providers' => [//AustinHeap\Database\InfluxDb\InfluxDbServiceProvider::class,];
And then add the alias to yourconfig/app.php:
'aliases' => [//'InfluxDb' =>AustinHeap\Database\InfluxDb\InfluxDbFacade::class,];
Publish the package config file:
$ php artisan vendor:publish --provider="AustinHeap\Database\InfluxDb\InfluxDbServiceProvider"You may now place your defaults inconfig/influxdb.php.
To override values inconfig/influxdb.php, simply add the following to your .env file:
INFLUXDB_PROTOCOL=httpsINFLUXDB_USER=my-influxdb-userINFLUXDB_PASS=my-influxdb-passINFLUXDB_HOST=my-influxdb.server
This is a fork ofpdffiller/laravel-influx-provider.
The MIT License (MIT). Please seeLicense File for more information.
About
A package for accessing InfluxDB from Laravel 5.5+, based on configuration settings.
Topics
Resources
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.

