title: How to create a chat room and add users into the room in openfire using PHP
body: <p>I'm new to XMPP server. I want to make multi user chat application.</p>
  
  <p>I have installed Openfire and one to one chat is working properly but i'm not able create a conference(chat) room and add users into the room using PHP for multi user chat.</p>
  
  <p>Although I have installed MUC service plugin available in openfire but I dont know how to implement the MUC Service REST/HTTP with PHP. </p>
  
  <p>Can anybody have some sample PHP script for MUC service to create chat room and adding users into the chat room?</p>
  
  <p>Thanks in Advance</p>