crowdstar/template

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

A wrapper for template engines.

Installs: 291

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 5

Forks: 0

Open Issues: 0

pkg:composer/crowdstar/template

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!"
?>