Composer安装Laravel要求对Github进行身份验证 [英] Composer install Laravel asks for authentication for Github

查看:668
本文介绍了Composer安装Laravel要求对Github进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试从composer.lock文件安装Laravel项目时,Composer会提示我进行身份验证。

When I try to install a Laravel project from a composer.lock file, Composer prompts me for authentication.

$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
  - Installing laravel/framework (v4.1.21)
    Authentication required (api.github.com):
      Username:

$ composer --version
Composer version 7343198817f365b1676ced0f353808f0e408ff9a 2014-02-07 09:59:35

$ php -i | grep ssl
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls
openssl

安装。在Ubuntu 13.10上使用PHP 5.5.3。

I have OpenSSL installed. Using PHP 5.5.3 on Ubuntu 13.10.

任何想法如何解决这个问题?试着给我的Github凭据,但它没有工作。

Any idea how to get around this? Tried to give it my Github credentials, but it didn't work.

推荐答案

Composer发生了很多。

Happens a lot with Composer.

这是一个临时的作曲家/ packagist问题:它不能下载所需的文件(通常是由于超时),当文件访问被拒绝时, VCS密码。

This is a temporary composer/packagist problem: it's not being able to download required files (usually due to timeout) and when file access is 'denied' it asks for the VCS password.

这篇关于Composer安装Laravel要求对Github进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆