You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,30 @@ This package is a Laravel wrapper for the [influxdb-php](https://packagist.org/p
4
4
5
5
## Installation
6
6
7
-
This package requires PHP 7.1+, and supports Laravel 5.6 - 8.
7
+
This package requires PHP 7.4+, Laravel 8+ and works with InfluxDB 2.0. For InfluxDB 1.x, see below.
8
8
9
9
1. To install the latest version of the package, run the following command in your terminal:
10
10
11
11
```bash
12
-
composer require ge-tracker/influxdb-laravel
12
+
$ composer require ge-tracker/influxdb-laravel
13
13
```
14
14
15
15
Laravel will auto-discover the package's service provider, located at `GeTracker\InfluxDBLaravel\InfluxDBLaravelServiceProvider`.
16
16
17
17
2. Next, you should publish the application's configuration file
18
18
19
19
```bash
20
-
php artisan vendor:publish
20
+
$ php artisan vendor:publish
21
21
```
22
22
23
+
### InfluxDB 1.x
24
+
25
+
To install a 1.7x compatible version, please install version 1.x of this package. You can [view the 1.x configuration options on GitHub](https://github.com/ge-tracker/influxdb-laravel/tree/v1).
0 commit comments