InfluxDB data displayed using php

I have some sensor data stored in an influx-db and want to read the data using php. I came from a mysql background. I went ahead and got composer, set up the influx library and it’s dependencies and I am pretty much left stuck after that. I followed this but how to I print out the data from the query I set. Any help would be appreciated.


you can check this

for install