Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Dean Gostiša
Name: Dean Gostiša <e-mail contact>
Packages: 1 Browse all classes by Dean Gostiša Browse all classes by
Country: Slovenia Slovenia - PHP jobs in Slovenia
Age: 24
All time rank: 21287 in Slovenia Slovenia
Week rank: 191 Up1 in Slovenia Slovenia Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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.

  Classes of Dean Gostiša  >  PHP Node.js  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Node.js
Base name: php-nodejs
Description: Execute JavaScript using Node.js from PHP
Version: 1.0
PHP version: 5.0
License: BSD License
All time users: 973 users
All time rank: 3384
Week users: 11 users
Week rank: 121 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Emulators System or language emulation View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
July 2013
Number 3

Prize: One downloadable copy of PhpED Professional
Node.js is runtime engine that can execute given JavaScript code.

This class simplifies the execution of JavaScript code started from a PHP script by calling the Node.js runtime engine passing given parameters from PHP.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (91.7%) Sufficient (75.0%) Sufficient (66.7%) Sufficient (75.0%) - - Sufficient (67.5%) 347
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file PHPNodeJS.php Class Class source
Accessible without login Plain text file PHPNodeJSExample.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

Install with Composer Install with Composer - Download Download all files: php-nodejs.tar.gz php-nodejs.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.