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
I have OpenSSL installed. Using PHP 5.5.3 on Ubuntu 13.10.
Any idea how to get around this? Tried to give it my Github credentials, but it didn't work.
Happens a lot with Composer.
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.
I ran into the same issue and a coworker suggested to run:
which will git clone
Description:
He also noted that:
will download a zipped version of the package.
Description:
In either case, the API is not used.