1.按照 中文镜像 配置全局镜像:
composer config -g repo.packagist composer https://packagist.laravel-china.org
2.再次尝试:
composer create-project laravel/laravel Laravel --prefer-dist "5.*.*"
1.按照 中文镜像 配置全局镜像:
composer config -g repo.packagist composer https://packagist.laravel-china.org
2.再次尝试:
composer create-project laravel/laravel Laravel --prefer-dist "5.*.*"
本文标题:laravel composer安装
本文链接:https://www.haomeiwen.com/subject/sbyubqtx.html
网友评论