Installs the v8js PHP extension, letting you run JavaScript code in PHP.
git clone git@github.com:Chassis/v8js.git extensions/v8js
or alternatively add the following to one of your .yaml
files:
extensions:
- chassis/v8js
config.local.yaml
PHP version to 7.0 or higher.vagrant provision
.To specify a version of v8js to install, add the following to your Chassis config file:
libv8: 7.5
v8js: 2.1.1