当我尝试从 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
我已经安装了 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.
这是一个临时的 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.