Composer 安装yii

指南 : https://www.yiichina.com/doc/guide/2.0/start-installation

win10 下载安装composer: https://getcomposer.org/Composer-Setup.exe
命令行:
Composer更换国内镜像:
composer config -g repo.packagist composer https://packagist.phpcomposer.com

yii2.0完全文件安装:
composer create-project --stability=dev yiisoft/yii2-app-basic basic
加上--prefer-dist是没有vendor文件夹的

你可能感兴趣的:(Composer 安装yii)