Skip to content

Instantly share code, notes, and snippets.

@Seldaek
Created March 9, 2012 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Seldaek/2005709 to your computer and use it in GitHub Desktop.
Save Seldaek/2005709 to your computer and use it in GitHub Desktop.
Private Repo Handling
{
"repositories": [ { "type": "composer", "url": "http://composer.example.org/" } ],
"require": {
"company/package": "1.2.0",
"company/package2": "1.5.2",
"company/package3": "dev-master"
}
}
{
"repositories": [
{ "type": "vcs", "url": "http://github.com/mycompany/privaterepo" },
{ "type": "vcs", "url": "http://svn.example.org/private/repo" },
{ "type": "vcs", "url": "http://github.com/mycompany/privaterepo2" }
],
"require": {
"company/package": "*",
"company/package2": "*",
"company/package3": "*"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment