Skip to content

Commit c39a22f

Browse files
committed
minor symfony#14685 Update setup page for Symfony 5.1 - add version (Philosoft)
This PR was merged into the 5.1 branch. Discussion ---------- Update setup page for Symfony 5.1 - add version Since 5.2 is now the current version it makes sense to add version to `symfony` and `composer create-project` example commands Commits ------- 2773a41 Update setup page for Symfony 5.1 - add version
2 parents 66f6c16 + 2773a41 commit c39a22f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ application:
5050
.. code-block:: terminal
5151
5252
# run this if you are building a traditional web application
53-
$ symfony new my_project_name --full
53+
$ symfony new my_project_name --version=5.1 --full
5454
5555
# run this if you are building a microservice, console application or API
56-
$ symfony new my_project_name
56+
$ symfony new my_project_name --version=5.1
5757
5858
The only difference between these two commands is the number of packages
5959
installed by default. The ``--full`` option installs all the packages that you
@@ -65,10 +65,10 @@ Symfony application using Composer:
6565
.. code-block:: terminal
6666
6767
# run this if you are building a traditional web application
68-
$ composer create-project symfony/website-skeleton my_project_name
68+
$ composer create-project symfony/website-skeleton:"5.1.*" my_project_name
6969
7070
# run this if you are building a microservice, console application or API
71-
$ composer create-project symfony/skeleton my_project_name
71+
$ composer create-project symfony/skeleton:"5.1.*" my_project_name
7272
7373
No matter which command you run to create the Symfony application. All of them
7474
will create a new ``my_project_name/`` directory, download some dependencies

0 commit comments

Comments
 (0)