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

Updated the Installer instructions to keep with the changes introduced by #90 #96

Merged
merged 1 commit into from
Jan 2, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,24 @@ $ symfony new my_project
$ php symfony.phar new my_project
```

**2. Start a new project based on a specific Symfony version**
**2. Start a new project based on a specific Symfony branch**

Execute the `new` command and provide the name of your project as the first argument followed by the needed version as the second argument:
Execute the `new` command and provide the name of your project as the first
argument and the branch number as the second argument. The installer will
automatically select the most recent version available for the given branch:

```bash
# Linux, Mac OS X
$ symfony new my_project 2.3

# Windows
$ php symfony.phar new my_project 2.3
```

**3. Start a new project based on a specific Symfony version**

Execute the `new` command and provide the name of your project as the first
argument and the exact Symfony version as the second argument:

```bash
# Linux, Mac OS X
Expand Down
5 changes: 5 additions & 0 deletions src/Symfony/Installer/AboutCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ protected function execute(InputInterface $input, OutputInterface $output)

<comment>%s new blog</comment>

To base your project on a <info>specific Symfony branch</info>, append the branch
number at the end of the command:

<comment>%3\$s new blog 2.3</comment>

To base your project on a <info>specific Symfony version</info>, append the version
number at the end of the command:

Expand Down