Skip to content

Commit 2773a41

Browse files
Philosoftwouterj
authored andcommitted
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
1 parent 66f6c16 commit 2773a41

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)