Unable to get Ubidots values with PHP on my localhost


Hi Everyone.
My PHP code doesnt display the value, but there is no error message. Please help. My O/s windows 10, Apach2.4 and PHP5.6.33. This is my php code and output;



Greetings, you should install the library using composer and then to include it inside your script with the keyword “require”, please refer to the step by step tutorial at our repository


Hi jotathebest, thank you for the reply. I have already installed. My PHP file is in D:\WebPages folder. I created composer.json file and downloaded composer.phar and saved both files in the same folder ‘webpages’. and then in command line I ran ‘composer install’ to install. And you can see in my code i have included with the keyword ‘require’.