Skip to content
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

Fixed wrong version of symfony with composer install #5662

Merged
merged 1 commit into from
Dec 18, 2015
Merged
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
7 changes: 3 additions & 4 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,12 @@ optional second argument of the ``new`` command:
.. code-block:: bash

# use the most recent version in any Symfony branch
$ symfony new my_project_name 2.3
$ symfony new my_project_name 2.5
$ symfony new my_project_name 2.6
Copy link
Member

Choose a reason for hiding this comment

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

Why do we remove 2.3, but keep 2.6?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To keep LTS and non-LTS version (as in the last example).

$ symfony new my_project_name 2.7

# use a specific Symfony version
$ symfony new my_project_name 2.3.26
$ symfony new my_project_name 2.6.5
$ symfony new my_project_name 2.7.3

If you want your project to be based on the latest :ref:`Symfony LTS version <releases-lts>`,
pass ``lts`` as the second argument of the ``new`` command:
Expand Down Expand Up @@ -146,7 +145,7 @@ version as the second argument of the ``create-project`` command:

.. code-block:: bash

$ composer create-project symfony/framework-standard-edition my_project_name "2.3.*"
$ composer create-project symfony/framework-standard-edition my_project_name "2.7.*"

.. tip::

Expand Down