From 9277bf78892313399a83a6c4f11aea0d3c735f47 Mon Sep 17 00:00:00 2001 From: Robert Freigang Date: Fri, 20 Sep 2013 16:32:47 +0200 Subject: [PATCH] add documentation for installing via composer --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 5ae4c03..52e1151 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,22 @@ It will get your application to a safe harbor. You can instruct Magallanes to deploy your code to all the servers you want (via rsync over ssh), and run tasks for that freshly deployed code. +### How can I install it via composer? ### + +Simply add the following dependency to your project’s composer.json file: + +```js + "require": { + // ... + "andres-montanez/magallanes": "dev-master" + // ... + } +``` +Now tell composer to download the bundle by running the command: + +```bash +$ php composer.phar update andres-montanez/magallanes +``` ### Can you give me some examples/ideas? ### **Sure!**