/plushcap/analysis/influxdata/getting-started-with-php-and-influxdb

Getting Started with PHP and InfluxDB

What's this blog post about?

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

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.