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