Skip to content

Templating Engines

Durisvk edited this page Dec 18, 2016 · 1 revision

Templating Engines

Twig

To use templating engine Twig you just need to name your view as: xyz.twig.php. That's all you need to do to enable Twig as your templating engine. Note that xyz can be anything you want. If you want to clear your cache stored templates just remove everything from the temp directory.

Blade

To use Blade templating engine just save your view as: xyz.blade.php.

Latte

To use Latte templating engine save your view as: xyz.latte.php.

You can for example (if needed) use one templating engine for some views and another for some other views.

We are looking for contributors, come and join us, write me an email on durisvk2@gmail.com or post something on a http://eoss.wz.sk .

Clone this wiki locally