mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-10 09:26:29 +00:00
[doc] fixed Composer section of the introduction. Added a side note to the Composer official documentation for getting more information.
This commit is contained in:
+6
-1
@@ -68,7 +68,7 @@ Installing via Composer
|
|||||||
|
|
||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"twig/twig": "1.6.0"
|
"twig/twig": "1.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -78,6 +78,10 @@ Installing via Composer
|
|||||||
|
|
||||||
php composer.phar install
|
php composer.phar install
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
If you want to learn more about Composer, the ``composer.json`` file syntax
|
||||||
|
and its usage, you can read the `online documentation`_.
|
||||||
|
|
||||||
Installing the C extension
|
Installing the C extension
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
@@ -152,4 +156,5 @@ filesystem loader::
|
|||||||
echo $twig->render('index.html', array('name' => 'Fabien'));
|
echo $twig->render('index.html', array('name' => 'Fabien'));
|
||||||
|
|
||||||
.. _`download page`: https://github.com/fabpot/Twig/tags
|
.. _`download page`: https://github.com/fabpot/Twig/tags
|
||||||
|
.. _`online documentation`: http://getcomposer.org/doc
|
||||||
.. _`pre-build DLL`: https://github.com/stealth35/stealth35.github.com/downloads
|
.. _`pre-build DLL`: https://github.com/stealth35/stealth35.github.com/downloads
|
||||||
|
|||||||
Reference in New Issue
Block a user