According to the package documentation, it requires a Node.js server to function.
I recommend setting up an Express API to handle the required functionality. You can then make calls to this API from your PHP application using curl or a similar HTTP client.