The server-side engine relies on Node.js, which the SDK can install for you. This example installs Node.js and updates the required packages.

Code overview. Load or create the report, resolve the target component or option, apply the requested properties, and render the updated result.
$nodejs = new StiNodeJs();

$result = $nodejs->installNodeJS();
if ($result)
    $result = $nodejs->updatePackages();

echo $result ? 'The installation was successful.' : $nodejs->error;


StiNodeJs downloads and configures a local Node.js runtime and the Stimulsoft packages needed for server-side rendering, so you can prepare the environment from PHP without manual setup.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.