1. Go to this page and download the library: Download humming/template library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
humming / template example snippets
lateDir = __DIR__ . '/template';
$compiledDir = __DIR__ . '/compiled';
$cache = new Psr\SimpleCache\CacheInterface();
$container = new Psr\Container\ContainerInterface();
$template = new \Humming\Template($templateDir, $compiledDir, new \Humming\Thigh($cache, $container), new \Humming\Pagination());
$template->assign('something', $somthing);
$template->display("test");