@@ -54,10 +54,10 @@ application:
54
54
.. code-block :: terminal
55
55
56
56
# 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
58
58
59
59
# 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
61
61
62
62
The only difference between these two commands is the number of packages
63
63
installed by default. The ``--full `` option installs all the packages that you
@@ -69,10 +69,10 @@ Symfony application using Composer:
69
69
.. code-block :: terminal
70
70
71
71
# 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
73
73
74
74
# 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
76
76
77
77
No matter which command you run to create the Symfony application. All of them
78
78
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:
271
271
$ symfony new my_project_name --version=next
272
272
273
273
# 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
275
275
276
276
The ``lts `` and ``next `` shortcuts are only available when using Symfony to
277
277
create new projects. If you use Composer, you need to tell the exact version:
278
278
279
279
.. code-block :: terminal
280
280
281
- $ composer create-project symfony/skeleton:"^4 .4" my_project_name
281
+ $ composer create-project symfony/skeleton:"^5 .4" my_project_name
282
282
283
283
The Symfony Demo application
284
284
----------------------------
0 commit comments