php-parser : Parse PHP code and returns its AST. You can installing php-parser 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 php-parser $ sudo npm install -g php-parser
If want to update the php-parser package execute the command as below,
$ sudo npm update php-parser
Update package globally,
$ npm install -g php-parser
$ sudo git clone https://github.com/rektide/php-parser.git
$ sudo npm install -g ./php-parser
php-parser@2.1.0 /usr/lib/node_modules/php-parser
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall php-parser
| Package Name | php-parser |
| Version | 2.1.0 |
| Description | Parse PHP code and returns its AST |
| Released Date | 2017-11-01T10:34:00.016Z |
| Published by | ichiriac |
| How to Learn | https://www.npmjs.com/package/php-parser/tutorial |