elemenx/laravel-database-influxdb 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

elemenx/laravel-database-influxdb

Composer 安装命令:

composer require elemenx/laravel-database-influxdb

包简介

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

README 文档

README

Step 1: Composer

Via Composer command line:

$ composer require elemenx/laravel-database-influxdb

Or add the package to your composer.json:

{
    "require": {
        "elemenx/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.

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

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

And then add the alias to your config/app.php:

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

Step 3: Configure the package

Publish the package config file:

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

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:

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.

License

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

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固