@@ -19,32 +19,33 @@ $ sudo chmod a+x /usr/local/bin/symfony
19
19
### Windows
20
20
21
21
``` bash
22
- c:\> php -r " readfile('http://symfony.com/installer');" > symfony.phar
22
+ c:\> php -r " readfile('http://symfony.com/installer');" > symfony
23
23
```
24
24
25
- Move the downloaded ` symfony.phar ` file to your projects directory and execute
25
+ Move the downloaded ` symfony ` file to your projects directory and execute
26
26
it as follows:
27
27
28
28
``` bash
29
- c:\> php symfony.phar
29
+ c:\> php symfony
30
30
```
31
31
32
32
Using the installer
33
33
-------------------
34
34
35
- ** 1. Start a new project with the latest Symfony version**
35
+ ** 1. Start a new project with the latest stable Symfony version**
36
36
37
- Execute the ` new ` command and provide the name of your project:
37
+ Execute the ` new ` command and provide the name of your project as the only
38
+ argument:
38
39
39
40
``` bash
40
41
# Linux, Mac OS X
41
42
$ symfony new my_project
42
43
43
44
# Windows
44
- $ php symfony.phar new my_project
45
+ c: \> php symfony new my_project
45
46
```
46
47
47
- ** 2. Start a new project with the latest Symfony LTS version**
48
+ ** 2. Start a new project with the latest Symfony LTS (Long Term Support) version**
48
49
49
50
Execute the ` new ` command and provide the name of your project as the first
50
51
argument and ` lts ` as the second argument. The installer will automatically
@@ -55,7 +56,7 @@ select the most recent LTS (*Long Term Support*) version available:
55
56
$ symfony new my_project lts
56
57
57
58
# Windows
58
- $ php symfony.phar new my_project lts
59
+ c: \> php symfony new my_project lts
59
60
```
60
61
61
62
** 3. Start a new project based on a specific Symfony branch**
@@ -69,7 +70,7 @@ automatically select the most recent version available for the given branch:
69
70
$ symfony new my_project 2.3
70
71
71
72
# Windows
72
- $ php symfony.phar new my_project 2.3
73
+ c: \> php symfony new my_project 2.3
73
74
```
74
75
75
76
** 4. Start a new project based on a specific Symfony version**
@@ -82,7 +83,7 @@ argument and the exact Symfony version as the second argument:
82
83
$ symfony new my_project 2.5.6
83
84
84
85
# Windows
85
- $ php symfony.phar new my_project 2.5.6
86
+ c: \> php symfony new my_project 2.5.6
86
87
```
87
88
88
89
Updating the installer
@@ -96,5 +97,5 @@ installer version, execute the following command:
96
97
$ symfony self-update
97
98
98
99
# Windows
99
- $ php symfony.phar self-update
100
+ c: \> php symfony self-update
100
101
```
0 commit comments