Twig templates for MicroMVC Library's Views

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

1.0.2 2013-01-18 19:36 UTC


MicroTwig is an extension for the Micro framework libraries. It connects Micro to the Twig templating library.


To use, first make sure your templates will work in Twig. Then, when you need to use a view, instantiate the MicroTwig view:

// You only need to set $directory once
\MicroTwig\View::$directory = '/path/to/your/views';
$view = new \MicroTwig\View('Layout');


MicroTwig is released under the MIT license.