2017 © Pedro Peláez
 

library influxdb-service-provider

InfluxDb Service Provider for Silex

image

junker/influxdb-service-provider

InfluxDb Service Provider for Silex

  • Wednesday, December 7, 2016
  • by Junker
  • Repository
  • 1 Watchers
  • 1 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

InfluxDbServiceProvider

InfluxDb Service Provider for Silex, (*1)

Requirements

  • Silex 2.x
  • InfluxDB client library for PHP

Installation

The best way to install InfluxDbServiceProvider is to use a Composer:, (*2)

composer require junker/influxdb-service-provider

Examples

use Junker\Silex\Provider\InfluxDbServiceProvider;

$app->register(new InfluxDbServiceProvider(), [
    'influxdb.host' => 'localhost', //optional. default: localhost
    'influxdb.port' => 8086, //optional. default: 8086 or 4444 for udp
    'influxdb.database' => 'stat',
    'influxdb.username' => 'username', //optional
    'influxdb.password' => 'password' //optional
    'influxdb.ssl' => true, //optional. default: false
    'influxdb.verifyssl' => true, //optional. default: false
    'influxdb.timeout' => 10, //optional. default: 0
    'influxdb.driver' => 'udp' //optional
]);

$app['influxdb']->query('select * from test_metric LIMIT 5');

$app['influxdb.client']->selectDB('influx_test_db');

Documentation

InfluxDB client library for PHP, (*3)

The Versions

07/12 2016

dev-master

9999999-dev

InfluxDb Service Provider for Silex

  Sources   Download

MIT

The Requires

 

by Dmitry Kosenkov

silex influxdb influx

07/12 2016

0.2.0

0.2.0.0

InfluxDb Service Provider for Silex

  Sources   Download

MIT

The Requires

 

by Dmitry Kosenkov

silex influxdb influx

06/12 2016

0.1.0

0.1.0.0

InfluxDb Service Provider for Silex

  Sources   Download

MIT

The Requires

 

by Dmitry Kosenkov

silex influxdb influx