PHP code example of crowdstar / template
1. Go to this page and download the library: Download crowdstar/template 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/ */
crowdstar / template example snippets
use CrowdStar\Template\Template;
use CrowdStar\Template\TemplateEngine\Mustache;
(new Template(new Mustache()))->render('Hello {{planet}}', ['planet' => 'World!']); // "Hello World!"