PHP engine for the template library of the PHP Ride framework.
Check this code sample to see how to initialize this library:
use ride\library\template\engine\PhpEngine;
function createPhpTemplateEngine(System $system) {
$engine = new PhpEngine($system->getFileBrowser(), 'view/php');
return $engine;
}
You can check the related implementations of this library:
You can use Composer to install this library.
composer require ride/lib-template-php