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: