Skip to content

Commit 3d22cdc

Browse files
committed
minor #16186 Update setup.rst (Symfony 5.3) (BahmanMD)
This PR was merged into the 5.3 branch. Discussion ---------- Update setup.rst (Symfony 5.3) Commits ------- ced58a0 Update setup.rst (Symfony 5.3)
2 parents 37d57f1 + ced58a0 commit 3d22cdc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

setup.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ application:
5454
.. code-block:: terminal
5555
5656
# run this if you are building a traditional web application
57-
$ symfony new my_project_name --full
57+
$ symfony new my_project_name --version=5.3 --full
5858
5959
# run this if you are building a microservice, console application or API
60-
$ symfony new my_project_name
60+
$ symfony new my_project_name --version=5.3
6161
6262
The only difference between these two commands is the number of packages
6363
installed by default. The ``--full`` option installs all the packages that you
@@ -69,10 +69,10 @@ Symfony application using Composer:
6969
.. code-block:: terminal
7070
7171
# run this if you are building a traditional web application
72-
$ composer create-project symfony/website-skeleton my_project_name
72+
$ composer create-project symfony/website-skeleton:"^5.3" my_project_name
7373
7474
# run this if you are building a microservice, console application or API
75-
$ composer create-project symfony/skeleton my_project_name
75+
$ composer create-project symfony/skeleton:"^5.3" my_project_name
7676
7777
No matter which command you run to create the Symfony application. All of them
7878
will create a new ``my_project_name/`` directory, download some dependencies
@@ -271,14 +271,14 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
271271
$ symfony new my_project_name --version=next
272272
273273
# you can also select an exact specific Symfony version
274-
$ symfony new my_project_name --version=4.4
274+
$ symfony new my_project_name --version=5.4
275275
276276
The ``lts`` and ``next`` shortcuts are only available when using Symfony to
277277
create new projects. If you use Composer, you need to tell the exact version:
278278

279279
.. code-block:: terminal
280280
281-
$ composer create-project symfony/skeleton:"^4.4" my_project_name
281+
$ composer create-project symfony/skeleton:"^5.4" my_project_name
282282
283283
The Symfony Demo application
284284
----------------------------

0 commit comments

Comments
 (0)