Setting up our repository in your projects

Add our repository to your project’s composer.json file, then you can require these private packages just like you would with one from public Packagist.

{
  "repositories": [{
    "type": "composer",
    "url": "https://repo.startmage.io"
  }]
}

Also you need to authenticate to access their Composer repository, for example to enter credentials run command:

composer config --global --auth http-basic.repo.startmage.io YOUR_USERNAME YOUR_TOKEN