Content Deep Dive
Getting Started with PHP and InfluxDB
Blog post from InfluxData
Post Details
Company
Date Published
Author
Community
Word Count
2,148
Language
English
Hacker News Points
-
Summary
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.