1. Go to this page and download the library: Download vovan-ve/html-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/ */
vovan-ve / html-template example snippets
use VovanVE\HtmlTemplate\runtime\RuntimeHelper;
$runtime = new RuntimeHelper([
'link' => 'http://example.com?foo=bar&lorem=ipsum#hash',
'title' => 'Lorem <ipsum> "dolor" sit amet',
'description' => function () {
return 'Some <text/plain> content';
},
]);