windows下Composer的安装

windows下如何安装Composer?

在命令行中执行:composer config -g repo.packagist composer https://packagist.phpcomposer...
改写Packagist 镜像至国内镜像可以加快下载速度。

安装完后,切换到web根目录下面执行命令 composer create-project topthink/think=5.0.* tp5 --prefer-dist

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