How can I use PHP libraries from composer when I start using Node.js?

View other answers to this thread
Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more

Atul Sharma's photo

As clearly pointed out by Shreyansh Pandey , either host the php libraries somewhere and communicate with them whenever required using JSON (Micro-Services Architecture) or find alternatives to the libraries.