[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:
Hugo Hamon
2012-05-25 22:16:33 +02:00
parent 573a360971
commit 953a0ce602
+6 -1
View File
@@ -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