From f36909b5ea7d57843da64fe37d8884e8c7356876 Mon Sep 17 00:00:00 2001 From: Danny Kopping Date: Wed, 6 Aug 2014 17:09:54 +0200 Subject: [PATCH] Added Composer installation tip --- book/installation.rst | 4 ++++ cookbook/workflow/new_project_git.rst | 8 +++++++- quick_tour/the_big_picture.rst | 6 ++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/book/installation.rst b/book/installation.rst index 2ad27b8d8ac..99706bb52ae 100644 --- a/book/installation.rst +++ b/book/installation.rst @@ -64,6 +64,10 @@ Distribution: To download the vendor files faster, add the ``--prefer-dist`` option at the end of any Composer command. + Add the ``-vvv`` flag to see everything that Composer is doing - this is + especially useful on a slow connection where it may seem that nothing is + happening. + This command may take several minutes to run as Composer downloads the Standard Distribution along with all of the vendor libraries that it needs. When it finishes, you should have a directory that looks something like this: diff --git a/cookbook/workflow/new_project_git.rst b/cookbook/workflow/new_project_git.rst index 580b3807cc7..b86319511cb 100644 --- a/cookbook/workflow/new_project_git.rst +++ b/cookbook/workflow/new_project_git.rst @@ -24,7 +24,13 @@ git repository: .. code-block:: bash - $ php composer.phar create-project symfony/framework-standard-edition path/ '~2.3' + $ php composer.phar create-project symfony/framework-standard-edition path/ '~2.5' + +.. tip:: + + Add the ``-vvv`` flag to see everything that Composer is doing - this is + especially useful on a slow connection where it may seem that nothing is + happening. Composer will now download the Standard Distribution along with all of the required vendor libraries. For more information about downloading Symfony using diff --git a/quick_tour/the_big_picture.rst b/quick_tour/the_big_picture.rst index 08bc43c77b8..2501032ee44 100644 --- a/quick_tour/the_big_picture.rst +++ b/quick_tour/the_big_picture.rst @@ -20,6 +20,12 @@ directory: $ composer create-project symfony/framework-standard-edition myproject/ '~2.5' +.. tip:: + + Add the ``-vvv`` flag to see everything that Composer is doing - this is + especially useful on a slow connection where it may seem that nothing is + happening. + .. note:: `Composer`_ is the package manager used by modern PHP applications and the