Skip to content

Commit 81700ad

Browse files
committed
Updated fxp/ require version
1 parent 6cdf2bc commit 81700ad

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,26 @@ The minimum requirement by this project template that your Web server supports P
3838
INSTALLATION
3939
------------
4040

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+
4161
### Install from an Archive File
4262

4363
Extract the archive file downloaded from [yiiframework.com](http://www.yiiframework.com/download/) to
@@ -59,26 +79,6 @@ http://localhost/basic/web/
5979
~~~
6080

6181

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-
8282
CONFIGURATION
8383
-------------
8484

0 commit comments

Comments
 (0)