Skip to content

Instantly share code, notes, and snippets.

@tawfekov
Created June 14, 2017 15:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tawfekov/c8398397ff5570e476a5c2dc05810858 to your computer and use it in GitHub Desktop.
Save tawfekov/c8398397ff5570e476a5c2dc05810858 to your computer and use it in GitHub Desktop.
force composer to pull packgist over https NOT http
"repositories": [
{
"type": "composer",
"url": "https://packagist.org"
},
{ "packagist": false }
],
@Techwolf12
Copy link

composer config --global repos.packagist composer https://packagist.org

For a global configuration, might also be handy.

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