[英]Cannot install bundles behind proxy with authentication in Laravel
I am not able to install any bundles because in my college there is a proxy with authentication. 我无法安装任何捆绑软件,因为在我的大学中有一个带有身份验证的代理。 I have been through all questions here on SO regarding this, but they are not helping me in any manner.
我在这里已经解决了所有与此相关的问题,但是它们并没有以任何方式帮助我。
I am using version 3.2.13 right now. 我正在使用3.2.13版本。 Even after initializing the env variables by
export http_proxy=http://<username>:<password>@<proxy_ip>:<proxy_port>
即使在通过
export http_proxy=http://<username>:<password>@<proxy_ip>:<proxy_port>
初始化环境变量之后
I get the following error every time I try to install any bundle The bundle API is not responding.
每次尝试安装任何捆绑软件时
The bundle API is not responding.
都会出现以下错误捆绑The bundle API is not responding.
Has someone been able to come with any solutions? 有人能够提出任何解决方案吗?
I can't say much for proxies, but you should be able to install bundles by downloading their .zip file from github. 我不能对代理说太多,但是您应该能够通过从github下载.zip文件来安装捆绑包。 I'll walk you through swiftmailer bundle, for instance:
例如,我将向您介绍swiftmailer软件包:
php artisan bundle:install swiftmailer
. php artisan bundle:install swiftmailer
。 swiftmailer
is the name of the folder you should create inside your bundles directory. swiftmailer
是您应该在bundles目录中创建的文件夹的名称。 bundles.php
like usually. bundles.php
上注册捆绑bundles.php
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.