PHP code example of pageblocks / fenom
1. Go to this page and download the library: Download pageblocks/fenom 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/ */
pageblocks / fenom example snippets
$fenom = pbFenom::factory($templateDir, $compileDir, [
'auto_escape' => true,
'auto_reload' => true,
]);
echo $fenom->fetch('page.tpl', ['user' => $user]);