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.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.