Skip to content

Commit 1fb28d5

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Update templates.rst: Adding installation command
2 parents 0ae7a23 + bf1f8e5 commit 1fb28d5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

templates.rst

+10
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)