通过 Composer 不能安装 Laravel 问题
通过composer安装laravel遇到 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败的问题。
排查:1.composer安装成功 2.修改 composer 的全局配置文件,使用composer config -g repo.packagist composer https://packagist.phpcomposer.com 的命令。
报错:The "https://repo.packagist.org/p/laravel/tinke..." file could not be downloaded: failed to open stream: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
https://packagist.phpcomposer.com could not be fully loaded, package information was loaded from the local cache and may be out of date
推荐文章: