crowdstar/template

This package is abandoned and no longer maintained. No replacement package was suggested.

A wrapper for template engines.

1.0.0 2020-10-07 17:48 UTC

This package is auto-updated.

Last update: 2024-07-08 02:22:03 UTC


README

Build Status Latest Stable Version Latest Unstable Version License

Summary

A wrapper for template engines. The purpose of this library is to make it easier to switch between different template engines.

Installation

composer require crowdstar/template

Sample Usage

<?php
use CrowdStar\Template\Template;
use CrowdStar\Template\TemplateEngine\Mustache;

(new Template(new Mustache()))->render('Hello {{planet}}', ['planet' => 'World!']); // "Hello World!"
?>