mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 17:57:38 +08:00
@ -15,7 +15,7 @@ The preferred way to install the Yii framework is through [composer](http://getc
|
||||
Either run
|
||||
|
||||
```
|
||||
composer global require "fxp/composer-asset-plugin:1.0.0"
|
||||
composer global require "fxp/composer-asset-plugin:~1.0.0"
|
||||
composer require yiisoft/yii2
|
||||
```
|
||||
|
||||
|
||||
@ -82,7 +82,7 @@ Upgrade from Yii 2.0 Beta
|
||||
the composer-asset-plugin, *before* you update your project:
|
||||
|
||||
```
|
||||
php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
|
||||
php composer.phar global require "fxp/composer-asset-plugin:~1.0.0"
|
||||
```
|
||||
|
||||
You also need to add the following code to your project's `composer.json` file:
|
||||
|
||||
Reference in New Issue
Block a user