There are several functions, what function do you want to convert?
Or maybe you want to convert full module to PHP?
I have experience in both NodeJs and PHP.
Online chat that I've built on Node.js:
[login to view URL]
I am a PHP developer for more than 5 years now, I can definitely help you to complete this. I have some Node experience too which could help to convert this code to PHP that I really know for a long time.