@@ -38,6 +38,26 @@ The minimum requirement by this project template that your Web server supports P
38
38
INSTALLATION
39
39
------------
40
40
41
+ ### Install via Composer
42
+
43
+ If you do not have [ Composer] ( http://getcomposer.org/ ) , you may install it by following the instructions
44
+ at [ getcomposer.org] ( http://getcomposer.org/doc/00-intro.md#installation-nix ) .
45
+
46
+ You can then install this project template using the following command:
47
+
48
+ ~~~
49
+ php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
50
+ php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
51
+ ~~~
52
+
53
+ Now you should be able to access the application through the following URL, assuming ` basic ` is the directory
54
+ directly under the Web root.
55
+
56
+ ~~~
57
+ http://localhost/basic/web/
58
+ ~~~
59
+
60
+
41
61
### Install from an Archive File
42
62
43
63
Extract the archive file downloaded from [ yiiframework.com] ( http://www.yiiframework.com/download/ ) to
@@ -59,26 +79,6 @@ http://localhost/basic/web/
59
79
~~~
60
80
61
81
62
- ### Install via Composer
63
-
64
- If you do not have [ Composer] ( http://getcomposer.org/ ) , you may install it by following the instructions
65
- at [ getcomposer.org] ( http://getcomposer.org/doc/00-intro.md#installation-nix ) .
66
-
67
- You can then install this project template using the following command:
68
-
69
- ~~~
70
- php composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
71
- php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
72
- ~~~
73
-
74
- Now you should be able to access the application through the following URL, assuming ` basic ` is the directory
75
- directly under the Web root.
76
-
77
- ~~~
78
- http://localhost/basic/web/
79
- ~~~
80
-
81
-
82
82
CONFIGURATION
83
83
-------------
84
84
0 commit comments