Skip to content

Commit c1a99bb

Browse files
committed
Merge branch '3.4' into 4.3
* 3.4: Document the new --version option from the Symfony bin
2 parents e0d5ef9 + 642dd95 commit c1a99bb

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

setup.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ application:
4242
.. code-block:: terminal
4343
4444
# run this if you are building a traditional web application
45-
$ symfony new --full my_project_name
45+
$ symfony new my_project_name --full
4646
4747
# run this if you are building a microservice, console application or API
4848
$ symfony new my_project_name
@@ -237,12 +237,15 @@ stable version. If you want to use an LTS version, add the ``--version`` option:
237237

238238
.. code-block:: terminal
239239
240-
# find the latest LTS version at https://symfony.com/roadmap
241-
$ symfony new --version=3.4 my_project_name_name
240+
# use the most recent 'lts' version
241+
$ symfony new my_project_name --version=lts
242242
243-
# you can also base your project on development versions
244-
$ symfony new --version=4.4.x-dev my_project_name
245-
$ symfony new --version=dev-master my_project_name
243+
# use the 'next' Symfony version to be released (still in development)
244+
$ symfony new my_project_name --version=next
245+
246+
# use a specific Symfony version
247+
$ symfony new my_project_name --version=3.3.10
248+
$ symfony new my_project_name --version=4.3.1
246249
247250
The Symfony Demo application
248251
----------------------------
@@ -255,7 +258,7 @@ Run this command to create a new project based on the Symfony Demo application:
255258

256259
.. code-block:: terminal
257260
258-
$ symfony new --demo my_project_name
261+
$ symfony new my_project_name --demo
259262
260263
Start Coding!
261264
-------------

0 commit comments

Comments
 (0)