Getting Started with PHP and InfluxDB
This article provides a comprehensive guide on how to set up InfluxDB with a PHP application. It covers the fundamentals of connecting to the database, writing data, reading data, and what you can do with it once it is all hooked up. The author uses the official PHP library for InfluxDB 2.x and 1.8+ in this guide. They also provide examples on how to insert data using different methods such as line protocol strings, data point builder, and array structure. Finally, they demonstrate how to query data back out from InfluxDB using table structure or stream method.
Company
InfluxData
Date published
Sept. 13, 2021
Author(s)
Community
Word count
2148
Hacker News points
None found.
Language
English