PHP Composer Fails With "Could not authenticate against"

Separate CircleCI builds can share the same IP. This can cause certain services, such as Github, to enable rate-limiting.

See Composer's documentation for specifically creating tokens on Github:

Then store the token as an environment variable in the CircleCI dashboard under Project Settings > Environment Variables and set it before the composer install run step.

Was this article helpful?
0 out of 2 found this helpful



Article is closed for comments.