Setup & Configuration
SDK that allows you to add, edit or remove users to MQTT chat through a REST API.
In this documentation we will see differents operations you can do with MQTT chat SDKs in the programming languages currently available: php.
Before you can use the SDK, you must install it in the environment in which you want to use.
You can install PHP SDK using two methods:
composer require med_aboub/mqttchat-php-sdk
You should add authentication settings to config file of your PHP SDK located at : src/telifoun/mqttchat/config.php.
/** telifoun mqttchat app_id **/
/** telifoun mqttchat app_secret **/
/* .... */