From 656996335877cddf4c8cce52bfbec743b16c8e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Gajda?= Date: Wed, 7 Nov 2012 17:04:44 +0100 Subject: [PATCH] BitBucket private repo --- doc/05-repositories.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/05-repositories.md b/doc/05-repositories.md index 5419d3896..9e86b20d8 100644 --- a/doc/05-repositories.md +++ b/doc/05-repositories.md @@ -190,6 +190,23 @@ Example assuming you patched monolog to fix a bug in the `bugfix` branch: When you run `php composer.phar update`, you should get your modified version of `monolog/monolog` instead of the one from packagist. +Exactly the same solution allows you to work with your private repositories at +GitHub and BitBucket: + + { + "require": { + "vendor/my-private-repo": "dev-master" + }, + "repositories": [ + { + "type": "vcs", + "url": "git@bitbucket.org:vendor/my-private-repo.git" + } + ] + } + +The only requirement is the installation of SSH keys for a git client. + #### Git alternatives Git is not the only version control system supported by the VCS repository.