Skip to content

Commit 969a4d4

Browse files
committed
Add installation step to README
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent bc111b5 commit 969a4d4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.rst

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ Configuration
77
The ``i18n`` extension adds `gettext`_ support to Twig. It defines one tag,
88
``trans``.
99

10-
To use it, first, :ref:`install the Extensions library<extensions-install>`.
10+
Installation
11+
------------
12+
13+
This library can be installed via Composer running the following from the
14+
command line:
15+
16+
.. code-block:: bash
17+
18+
composer require phpmyadmin/twig-i18n-extension
1119
1220
You need to register this extension before using the ``trans`` block::
1321

0 commit comments

Comments
 (0)