File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,6 @@ commands to create the new Symfony application using Composer:
61
61
62
62
# run this if you are building a microservice, console application or API
63
63
$ composer create-project symfony/skeleton my_project_name
64
-
65
- # to specify the version of Symfony to install
66
- $ composer create-project symfony/website-skeleton:^4.x my_project_name
67
- Replace 4.x with the version. IE: 4.4
68
64
69
65
No matter which command you run to create the Symfony application. All of them
70
66
will create a new ``my_project_name/ `` directory, download some dependencies
@@ -247,6 +243,16 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
247
243
# use the 'next' Symfony version to be released (still in development)
248
244
$ symfony new my_project_name --version=next
249
245
246
+ # you can also select an exact specific Symfony version
247
+ $ symfony new my_project_name --version=4.4
248
+
249
+ The ``lts `` and ``next `` shortcuts are only available when using Symfony to
250
+ create new projects. If you use Composer, you need to tell the exact version:
251
+
252
+ .. code-block :: terminal
253
+
254
+ $ composer create-project symfony/website-skeleton:^4.4 my_project_name
255
+
250
256
The Symfony Demo application
251
257
----------------------------
252
258
You can’t perform that action at this time.
0 commit comments