Skip to content

Instantly share code, notes, and snippets.

@llbbl
Last active January 26, 2016 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llbbl/c354ae59951de6508c05 to your computer and use it in GitHub Desktop.
Save llbbl/c354ae59951de6508c05 to your computer and use it in GitHub Desktop.

See a list of composer configuration settings.

composer config --list -g

Check to see if you already set a github personal access token

composer config --list -g | grep github-oauth.github.com

Set your github personal access token

composer config --global github-oauth.github.com TOKEN

Disabling xdebug so composer goes quicker but setting php aliases so it still enabled
compsoer docs

Other options for setting the personal access token
http://www.gamez.name/avoid-github-rate-limits-when-using-composer/

The composer CLI docs
https://getcomposer.org/doc/03-cli.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment