composer 安装yii2高级模板

1.

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

2.

 composer self-update

3.
composer global require "fxp/composer-asset-plugin:~1.1.1"

4.

composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application

5.

在composer.json中加入需要插件

然后

composer install


更新

composer update


你可能感兴趣的:(Yii2,框架)