Added --prefer-dist to all docs
1. It results in much smaller download and takes less disk space (25MB instead of 180MB for yii-basic + dependencies). 2. It requires less utilities to be installed (no VCS binaries required). 3. It takes less time to install dependencies.
This commit is contained in:
parent
dfc28ef46b
commit
c4ee842556
@ -52,7 +52,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).
|
||||
You can then install this application template using the following command:
|
||||
|
||||
~~~
|
||||
php composer.phar create-project --stability=dev yiisoft/yii2-app-basic basic
|
||||
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic
|
||||
~~~
|
||||
|
||||
Now you should be able to access the application through the following URL, assuming `basic` is the directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user