Note however, that both NodeJS and php are server side technologies and you should really know what you're doing to make them work together. Pushing NodeJS libraries in your public folder to use client side is NOT what NodeJS is made for and you should probably not use it that way.