The *Twig Service* enable a full access to the [Twig Template Engine](http://twig.sensiolabs.org/). *Twig* is modern, fast, flexible and a very effective supplement for the classical way to create Templates for [WebsiteBaker](http://websitebaker.org), [LEPTON CMS](http://lepton-cms.org) or [BlackCat CMS](http://blackcat-cms.org). [Twig](http://twig.sensiolabs.org/documentation) is well documented and comes to you with many predefined Tags, Filters, Functions, Tests and Operators. A good point to start is [Twig for Template Designers](http://twig.sensiolabs.org/doc/templates.html#twig-for-template-designers). ## Using Twig with the *TemplateTools* * [Introduction](#introduction) * [Using Namespaces](#namespaces) * [`$template['twig']->display()`](#display) * [`$template['twig']->render()`](#render) * [Constants](#constants) * [Additional Filters](#filters) * [Additional Functions](#functions) ###Introduction Using the *TemplateTools* and [Twig](http://twig.sensiolabs.org/) does *not* mean you *must* use *Twig* and if you are using *Twig* you are *not* forced to use *Twig* exclusive. You can always mix-up `php` code with `twig` parts. *Twig* is fast, the syntax is easy to learn and the Best of all: it is very simple to reuse your `twig` patterns, extend or fit them for your actual Template Project. Twig will speed up your projects. Example for a simple `index.php`: .. section $template['twig']->display('@Pattern/classic/head.simple.twig'); ?>