Welcome Guest, Not a member yet? Register   Sign In
Using a third party class in CI4
#1
Question 
(This post was last modified: 06-15-2022, 09:26 PM by Sincere.)

I want to use the influxdb-php class in CI4:
https://github.com/influxdata/influxdb-php
I tried calling the class from the controller using:

PHP Code:
use InfluxDB;
use 
InfluxDB\Client;
use \
InfluxDB;
use \
InfluxDB\Client

But no success. I installed it using composer:
Code:
composer require influxdb/influxdb-php
Reply


Messages In This Thread
Using a third party class in CI4 - by Sincere - 06-15-2022, 09:25 PM
RE: Using a third party class in CI4 - by iRedds - 06-15-2022, 10:41 PM
RE: Using a third party class in CI4 - by Sincere - 06-16-2022, 09:44 AM
RE: Using a third party class in CI4 - by iRedds - 06-16-2022, 10:21 AM
RE: Using a third party class in CI4 - by Sincere - 06-16-2022, 10:33 AM
RE: Using a third party class in CI4 - by iRedds - 06-16-2022, 12:06 PM
RE: Using a third party class in CI4 - by Sincere - 06-16-2022, 12:08 PM
RE: Using a third party class in CI4 - by Sincere - 06-19-2022, 05:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB