December 2, 2022

WeAnswer

The complete guide to the beginners as well as to the experienced Web Developers

How to create openfire user using PHP

In real time chat via openfire, create openfire user using PHP, PHP call rest API to openfire for creating a user, Openfire user management using PHP for that you need to install User Service Plugin.

Install User Service Plugin

1. After installation in use secret from the plugin

2. Make sure PHP extension CURL is enabled.

3. Write below code in PHP file with your secret and your IP (or hostname)