Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Commit 13d7a97

Browse files
committed
minor #96 Updated the Installer instructions to keep with the changes introduced by #90 (javiereguiluz)
This PR was merged into the 1.0-dev branch. Discussion ---------- Updated the Installer instructions to keep with the changes introduced by #90 Commits ------- 40064a5 Updated the Installer instructions to keep with the changes introduced by #90
2 parents 1b1899e + 40064a5 commit 13d7a97

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,24 @@ $ symfony new my_project
4545
$ php symfony.phar new my_project
4646
```
4747

48-
**2. Start a new project based on a specific Symfony version**
48+
**2. Start a new project based on a specific Symfony branch**
4949

50-
Execute the `new` command and provide the name of your project as the first argument followed by the needed version as the second argument:
50+
Execute the `new` command and provide the name of your project as the first
51+
argument and the branch number as the second argument. The installer will
52+
automatically select the most recent version available for the given branch:
53+
54+
```bash
55+
# Linux, Mac OS X
56+
$ symfony new my_project 2.3
57+
58+
# Windows
59+
$ php symfony.phar new my_project 2.3
60+
```
61+
62+
**3. Start a new project based on a specific Symfony version**
63+
64+
Execute the `new` command and provide the name of your project as the first
65+
argument and the exact Symfony version as the second argument:
5166

5267
```bash
5368
# Linux, Mac OS X

src/Symfony/Installer/AboutCommand.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ protected function execute(InputInterface $input, OutputInterface $output)
5454
5555
<comment>%s new blog</comment>
5656
57+
To base your project on a <info>specific Symfony branch</info>, append the branch
58+
number at the end of the command:
59+
60+
<comment>%3\$s new blog 2.3</comment>
61+
5762
To base your project on a <info>specific Symfony version</info>, append the version
5863
number at the end of the command:
5964

0 commit comments

Comments
 (0)