PHP Classes

I need a PHP class for running nodejs script: How to execute nodejs script using exec()

Recommend this page to a friend!
  All requests RSS feed  >  I need a PHP class for running nodejs...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

I need a PHP class for running nodejs script

Edit

Picture of Rebecca Santos by Rebecca Santos - 3 years ago (2021-10-27)

How to execute nodejs script using exec()

This request is clear and relevant.
This request is not clear or is not relevant.

+2

I want to run a NodeJS script from PHP.

Ask clarification

1 Recommendation

PHP Node.js: Execute JavaScript using Node.js from PHP

This class can execute JavaScript using Node.js from PHP.

It can take a given JavaScript source file and executes it by running the Node.js program.

The class changes the current directory to the path of the given JavaScript file.

Optionally it can output debug messages, pass an array of parameters to JavaScript and pre-load jQuery.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 3 years ago (2021-10-28) Comment

The solution for this problem is a very simple task to do using just some PHP code. Just try this class so you can learn how to do it.


Recommend package
: 
: