creating Fire-base web chat with PHP : i have web application written in PHP , i want to build a Real-time chat module for my web app, someone suggest me to use fire-base but i am not able to figure out how to build a chat with fir-base and PHP so all my user can chat one to one , tough i have idea that i have to sync all my users to fire-base database to enable chat between them , but how it will work with PHP. if someone have done this before pleas help me out
Here what i found on codelab but it for node.js only can someone suggest me how to do it whit php ?
https://codelabs.developers.google.com/codelabs/firebase-web/#0