PHP code example of fenom / fenom
1. Go to this page and download the library: Download fenom/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/ */
fenom / fenom example snippets
$fenom = new Fenom(new Fenom\Provider($template_dir));
$fenom->setCompileDir($template_cache_dir);
$fenom->setOptions($options);
$fenom = Fenom::factory($template_dir, $template_cache_dir, $options);