Answer the question
In order to leave comments, you need to log in
Why is composer constantly "asking" for a token for github?
Good day.
Every time I run composer update I get the following message:
Your GitHub credentials are required to fetch private repository metadata (git://github.com/DmitryBaranovskiy/eve.git)
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+F1-laptop+2015-10-08+0043
to retrieve a token. It will be stored in "/home/USER/.composer/auth.json" for future use by Composer.
Token (hidden):
{
"github-oauth": {
"github.com": "0000000000000000000000000000000"
}
}
Answer the question
In order to leave comments, you need to log in
GitHub doesn't like pulling repositories frequently. There is a solution: use the local cache using the --prefer-dist key.
Or add the token to the config with the command:
https://getcomposer.org/doc/articles/troubleshooti...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question