oito/php-micro-plugin-templating

Symfony Templating plugin for Oito PHP microframework

v1.0.0 2014-03-03 02:42 UTC

README

Uses the libraries

About

This plugin enables you to use the Symfony Templating library to render view files using pure PHP.

Usage

<?php

$app = new \Oito\Micro\Application();

// the plugin will be available as: "templating"
$app->addPlugin(new \Oito\Micro\Plugin\Templating());

$app->templating->render('...');