Laravel composer installation requests authentication for Github

When I try to install the Laravel project from the composer.lock file, Composer asks 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 him my Github credentials, but that didn't work.

+7
laravel-4 composer-php
source share
2 answers

A lot happens with the composer.

This is a temporary problem with the linker / packaging: it cannot load the required files (usually due to a timeout), and when accessing the file it "refuses" and asks for the VCS password.

+3
source share

I ran into the same problem and a colleague suggested launching:

 composer install --prefer-source 

which will be a git clone

Description:

If necessary, force install from package sources, including VCS information.

He also noted that:

 composer install --prefer-dist 

download the updated version of the package.

Description:

Forced installation from the package even for dev versions.

In any case, the API is not .

+7
source share

All Articles