evandarwin/laravel-influxdb

This package is abandoned and no longer maintained. No replacement package was suggested.

dev-master 2015-06-23 22:37 UTC

This package is not auto-updated.

Last update: 2016-01-21 21:58:04 UTC


README

Laravel-InfluxDB is a Laravel 5 provider that wraps the influxdb-php-sdk project.

Installation

Install via composer:

$ composer require evandarwin/laravel-influxdb:dev-master

And then edit your config/app.php configuration file to add the service provider and the alias.

<?php

return array(
  'providers' => [
    // ...
    'EvanDarwin\Laravel\InfluxDB\ServiceProvider'
  ],

  'aliases' => [
    'InfluxDB' => 'EvanDarwin\Laravel\InfluxDB\Facades\InfluxDB'
  ]
);

You then need to publish our configuration file.

$ php artisan vendor:publish

Usage

Laravel-InfluxDB provides the same API as influxdb-php-sdk.