Skip to content

Commit bf1f8e5

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: Reword Update templates.rst: Adding installation command
2 parents cd92345 + 1d8d4b6 commit bf1f8e5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

templates.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ whether you need to render HTML from a :doc:`controller </controller>` or genera
66
the :doc:`contents of an email </mailer>`. Templates in Symfony are created with
77
Twig: a flexible, fast, and secure template engine.
88

9+
Installation
10+
------------
11+
12+
In applications using :ref:`Symfony Flex <symfony-flex>`, run the following command
13+
to install both Twig language support and its integration with Symfony applications:
14+
15+
.. code-block:: terminal
16+
17+
$ composer require symfony/twig-bundle
18+
919
.. _twig-language:
1020

1121
Twig Templating Language

0 commit comments

Comments
 (0)