我努力学习Laravel并按照他们的tutorial说明我的共享主机安装框架共同主办。我已经禁用了composer中的secure-http选项,但它仍然不会下载框架。laravel安装与作曲家
叫:
composer global require "laravel/installer"
响应:
Changed current directory to /home/sledzko/.composer
Warning: Accessing packagist.org over http which is an insecure protocol.
[LogicException]
Composer repositories that have providers can not load the complete list of packages, use getProviderNames instead.
我能做些什么来下载使用作曲家的框架?
为什么不使用create-project而不是安装程序? –
我自己有这个问题,并做了一些搜索。看来造成这个问题的最常见问题是互联网连接问题。你可能想阅读[这个github讨论](https://github.com/composer/composer/issues/1688)和[this one](https://github.com/composer/composer/issues/5550) – koceeng
你为什么不问你共享托管公司。也许他们有解决方案或其他方式来安装Laravel。 –