@@ -49,10 +49,10 @@ application:
49
49
.. code-block :: terminal
50
50
51
51
# run this if you are building a traditional web application
52
- $ symfony new my_project_directory --webapp
52
+ $ symfony new my_project_directory --version=6.0.* -- webapp
53
53
54
54
# run this if you are building a microservice, console application or API
55
- $ symfony new my_project_directory
55
+ $ symfony new my_project_directory --version=6.0.*
56
56
57
57
The only difference between these two commands is the number of packages
58
58
installed by default. The ``--webapp `` option installs all the packages that you
@@ -64,12 +64,12 @@ Symfony application using Composer:
64
64
.. code-block :: terminal
65
65
66
66
# run this if you are building a traditional web application
67
- $ composer create-project symfony/skeleton my_project_directory
67
+ $ composer create-project symfony/skeleton:"6.0.*" my_project_directory
68
68
$ cd my_project_directory
69
69
$ composer require webapp
70
70
71
71
# run this if you are building a microservice, console application or API
72
- $ composer create-project symfony/skeleton my_project_directory
72
+ $ composer create-project symfony/skeleton:"6.0.*" my_project_directory
73
73
74
74
No matter which command you run to create the Symfony application. All of them
75
75
will create a new ``my_project_directory/ `` directory, download some dependencies
@@ -273,14 +273,14 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
273
273
$ symfony new my_project_directory --version=next
274
274
275
275
# you can also select an exact specific Symfony version
276
- $ symfony new my_project_directory --version=5.4
276
+ $ symfony new my_project_directory --version=5.4.*
277
277
278
278
The ``lts `` and ``next `` shortcuts are only available when using Symfony to
279
279
create new projects. If you use Composer, you need to tell the exact version:
280
280
281
281
.. code-block :: terminal
282
282
283
- $ composer create-project symfony/skeleton:"^ 5.4" my_project_directory
283
+ $ composer create-project symfony/skeleton:"5.4.* " my_project_directory
284
284
285
285
The Symfony Demo application
286
286
----------------------------
0 commit comments