Skip to content

Update setup.rst - Symfony 6.0 #16175

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

Merged
merged 1 commit into from
Nov 30, 2021
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
12 changes: 6 additions & 6 deletions setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ application:
.. code-block:: terminal

# run this if you are building a traditional web application
$ symfony new my_project_name --version="6.0.x@dev" --full
$ symfony new my_project_name --full

# run this if you are building a microservice, console application or API
$ symfony new my_project_name --version="6.0.x@dev"
$ symfony new my_project_name

The only difference between these two commands is the number of packages
installed by default. The ``--full`` option installs all the packages that you
Expand All @@ -69,10 +69,10 @@ Symfony application using Composer:
.. code-block:: terminal

# run this if you are building a traditional web application
$ composer create-project symfony/website-skeleton:"6.0.x@dev" my_project_name
$ composer create-project symfony/website-skeleton my_project_name

# run this if you are building a microservice, console application or API
$ composer create-project symfony/skeleton:"6.0.x@dev" my_project_name
$ composer create-project symfony/skeleton my_project_name

No matter which command you run to create the Symfony application. All of them
will create a new ``my_project_name/`` directory, download some dependencies
Expand Down Expand Up @@ -271,14 +271,14 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
$ symfony new my_project_name --version=next

# you can also select an exact specific Symfony version
$ symfony new my_project_name --version=4.4
$ symfony new my_project_name --version=5.4

The ``lts`` and ``next`` shortcuts are only available when using Symfony to
create new projects. If you use Composer, you need to tell the exact version:

.. code-block:: terminal

$ composer create-project symfony/website-skeleton:"^4.4" my_project_name
$ composer create-project symfony/website-skeleton:"^5.4" my_project_name

The Symfony Demo application
----------------------------
Expand Down