相关疑难解决方法(0)

在窗口10中安装laravel安装程序时出错

我正在使用Windows 10并composer已安装.当我尝试laravel使用此命令全局安装安装程序时:

composer global require laravel/installer

[Composer\Downloader\TransportException]
The "https://repo.packagist.org/packages.json" file could not be downloaded: 
failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Run Code Online (Sandbox Code Playgroud)

这意味着包没有下载.我没有使用任何代理服务器.Composer诊断结果如下:

Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: 
[Composer\Downloader\TransportException] The "http://repo.packagist.org/packages.json" file could not be downloaded: failed to open stream: A connection attempt failed …
Run Code Online (Sandbox Code Playgroud)

php composer-php laravel-5.5

8
推荐指数
2
解决办法
7821
查看次数

标签 统计

composer-php ×1

laravel-5.5 ×1

php ×1