Skip to content

Commit f1ff3ca

Browse files
committed
minor #20258 [Twig] Update templates.rst: Adding installation command (ThomasLandauer)
This PR was merged into the 5.4 branch. Discussion ---------- [Twig] Update templates.rst: Adding installation command Looks like this isn't included anywhere... Commits ------- 6149001 Update templates.rst: Adding installation command
2 parents c8cc786 + 6149001 commit f1ff3ca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

templates.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ Twig: a flexible, fast, and secure template engine.
1515
Twig Templating Language
1616
------------------------
1717

18+
To intsall Twig, run:
19+
20+
.. code-block:: bash
21+
22+
composer require symfony/twig-bundle
23+
1824
The `Twig`_ templating language allows you to write concise, readable templates
1925
that are more friendly to web designers and, in several ways, more powerful than
2026
PHP templates. Take a look at the following Twig template example. Even if it's

0 commit comments

Comments
 (0)