diff --git a/templates.rst b/templates.rst index fb7549482e2..eb4991dd6d5 100644 --- a/templates.rst +++ b/templates.rst @@ -6,6 +6,16 @@ whether you need to render HTML from a :doc:`controller ` or genera the :doc:`contents of an email `. Templates in Symfony are created with Twig: a flexible, fast, and secure template engine. +Installation +------------ + +In applications using :ref:`Symfony Flex `, run the following command +to install both Twig language support and its integration with Symfony applications: + +.. code-block:: terminal + + $ composer require symfony/twig-bundle + .. _twig-language: Twig Templating Language