How to Install phpjs NPM Packages on Ubuntu / Debian

How to Install phpjs software package in NPM Packages

phpjs : php.js offers community built php functions in javascript. You can installing phpjs npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install phpjs
$ sudo npm install -g phpjs

If want to update the phpjs package execute the command as below,

$ sudo npm update phpjs

Update package globally,

$ npm install -g phpjs

Git clone:

$ sudo  git clone https://github.com/rektide/phpjs.git
$ sudo  npm install -g ./phpjs

phpjs@1.3.2 /usr/lib/node_modules/phpjs

How to remove phpjs package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall phpjs

Basic Information of phpjs NPM Package:

Package Name phpjs
Version 1.3.2
Description php.js offers community built php functions in javascript
Released Date 2014-03-05T09:20:13.675Z
Published by kvz
How to Learn https://www.npmjs.com/package/phpjs/tutorial