1. Go to this page and download the library: Download phpffcms/ffcms-templex 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/ */
phpffcms / ffcms-templex example snippets
$loader = alize template engine
$tpl = new \Ffcms\Templex\Engine(__DIR__ . '/tpl');
// load default ffcms html helpers as extensions
$tpl->loadDefaultExtensions();
// render /tpl/block.body.php example
echo $tpl->render('block/body', ['test' => 'some value']);