在composer安装方法里,老师他应该是提前已经切换到国内镜像了所以才能成功,我们这些还没切换的话,要先输入
composer config -g repositories.packagist composer https://packagist.phpcomposer.com
等有反应了再去安装tp5
composer create-project --prefer-dist topthink/think think_composer
composer config -g repositories.packagist composer https://packagist.phpcomposer.com
等有反应了再去安装tp5
composer create-project --prefer-dist topthink/think think_composer
2017-07-01