Installs the v8js PHP extension, letting you run JavaScript code in PHP.
- Add this extension to your extensions directory
git clone git@github.com:Chassis/v8js.git extensions/v8jsor alternatively add the following to one of your.yamlfiles:extensions: - chassis/v8js - Set your
config.local.yamlPHP version to 7.0 or higher. - Run
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