A wrapper for template engines. The purpose of this library is to make it easier to switch between different template engines.
composer require crowdstar/template
<?php
use CrowdStar\Template\Template;
use CrowdStar\Template\TemplateEngine\Mustache;
(new Template(new Mustache()))->render('Hello {{planet}}', ['planet' => 'World!']); // "Hello World!"
?>