Skip to content

Composer installation verbosity tip #4099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a tip directive before this paragraph so that there are two tips (one for the --prefer-dist option and one for the -vvv flag).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for moving this to a tip.

Also, let's say something like "You can add the -vvv flag to the end of the command to see everything that Composer is doing. This is useful on a slow connection, where..."

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, basically - we have a really nicely-worded tip everywhere else - we can just use that wording here :).

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:
Expand Down
8 changes: 7 additions & 1 deletion cookbook/workflow/new_project_git.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use the oldest still maintained Symfony version. So I don't think that this should be changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, sorry - I was bringing this in line with the changes i made in #4091

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, let's change this back :)


.. 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to indent this with three more spaces so that it is rendered as part of the list item.


Composer will now download the Standard Distribution along with all of the
required vendor libraries. For more information about downloading Symfony using
Expand Down
6 changes: 6 additions & 0 deletions quick_tour/the_big_picture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down