Download the PHP package chenos/execjs without Composer
On this page you can find all versions of the php package chenos/execjs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package execjs
ExecJs
Requirements
- PHP 7.0+
- V8Js extension 2.0+
Installation
Testing
Example
Access http://127.0.0.1:9999
- liquidjs
- marked & markdown-it
- react
- vue-simple
- vue-router
- js-yaml
Usage
API
eval
Evaluates JavaScript code represented as a string.
Almost the same as V8Js::executeString
except $identifier
argument.
Usage:
load
Evaluates JavaScript code represented from a file.
require
CommonJS module support to require external code.
Usage:
String identifier
Array identifier
set
Assign a property to make it accessible to the javascript context.
Usage:
Global Variables
- exit
V8Function
- PHP
V8Js
- print
V8Function
- require
V8Function
- sleep
V8Function
- var_dump
V8Function
All versions of execjs with dependencies
PHP Build Version
Package Version
Requires
chenos/v8js-module-loader Version
^0.2.0
The package chenos/execjs contains the following files
Loading the files please wait ....