Private Repositories

October 28th, 2019

Chipper CI is continuous integration, just for Laravel. Give it a try - free!

It's common for projects to require private Composer packages. These may be commercial (e.g. Laravel Nova or Spark), or they may just be private repositories within your git provider.

There are two main ways to authorize against any type of private Composer repository:

  • HTTP Basic Auth
  • SSH Auth

Basic Auth

HTTP Basic Auth typically requires a hostname, a username, and a password. You can set these within Chipper CI's project settings. This is most used for Laravel Nova.

composer private packages

SSH Auth

For private packages within your git provider, the best way to go is to run a command in your pipeline that looks something like this:

composer config a-personal-access-token-here

You'll need to create a personal access token that has access to your Git repositories. You can find more details on private repositories in the docs!

Try out Chipper CI!
Chipper CI is the easiest way to test and deploy your Laravel applications. Try it out - it's free!