composer 安装 laravel 更换下载源

1.在确认cmd 下载好composer

2. composer -V

3. composer config -g repo.packagist composer https://packagist.phpcomposer.com

4.composer create-project laravel/laravel your-project-name --prefer-dist "5.3.*"

转载于:https://www.cnblogs.com/JdsyJ/p/7071170.html

你可能感兴趣的:(composer 安装 laravel 更换下载源)