Adding Private Repository to Global Composer Configuration

The global configuration can be listed with:

composer config -g -l

or edited manually with:

composer config -g -e

Then the configuration can be adjusted to:

{
    "config": {},
    "repositories": {
        "REPOSITORY": {
            "type": "composer",
            "url": "REPOSITORY_URL"
        }
    }
}

where:

  • REPOSITORY is the repository name and,
  • REPOSITORY_URL is the URL to the repository

fuss/composer.txt ยท Last modified: 2017/12/08 08:06 by office

Access website using Tor Access website using i2p


For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy and plagiarism pages.