Twig templates for MicroMVC Library's Views
1.0.2 2013-01-18 19:36 UTC
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.