php-runtime
Lightweight runtime that using php-parser and php-transpiler in order to execute php code.
Installation
This library is distributed with npm :
npm install php-runtime --save
Usage
var Runtime = ;var php = core: config: ;// starts to execute :php;
Core functions
I wanted to keep this package light and focus only on runtime functions.
In order to use common php functions / constants you should use php-core package.
npm install php-core --save
And initialize its dependency :
var Runtime = ;var php = core: config: extensions: 'php-core' ;// starts to execute :php;
Misc
This library is released under BSD-3 license clause.