Skip to content

Instantly share code, notes, and snippets.

@jerry-maheswara-github
Last active January 19, 2020 16:14
Show Gist options
  • Save jerry-maheswara-github/0bb1a672655af4583c3195d617e7efdc to your computer and use it in GitHub Desktop.
Save jerry-maheswara-github/0bb1a672655af4583c3195d617e7efdc to your computer and use it in GitHub Desktop.

You can either force composer to use https by:

composer config -g repo.packagist composer https://packagist.org

Or you could set in your composer.json file:

   "repositories": [
      {
        "type": "composer",
        "url": "https://packagist.org"
      },
      { "packagist": false }
    ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment