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:
6161
6262 # run this if you are building a microservice, console application or API
6363 $ 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
6864
6965 No matter which command you run to create the Symfony application. All of them
7066will 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:
247243 # use the 'next' Symfony version to be released (still in development)
248244 $ symfony new my_project_name --version=next
249245
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+
250256 The Symfony Demo application
251257----------------------------
252258
You can’t perform that action at this time.
0 commit comments