<?php require_once __DIR__ . '/STPL.php'; $template = __DIR__ . '/template/pages/welcome.php'; $data = [ 'user' => ['firstName' => 'Aleksandar', 'lastName' => 'Zivanovic'], 'queryTime' => microtime(true), ]; STPL::Render($template, $data, false);
info at phpclasses dot org