From bb5c2ad06c69ad3603745586092763f495e9b980 Mon Sep 17 00:00:00 2001 From: Wil Moore III Date: Sat, 7 Jan 2012 04:35:23 -0700 Subject: [PATCH 1/5] added a blurb to the README regarding installing composer via homebrew. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 536632996..a564d685e 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,15 @@ in a system wide way. 3. Change into a project directory `cd /path/to/my/project` 4. Use composer as you normally would `composer.phar install` +Global installation of composer (via homebrew) +---------------------------------------------- + +Homebrew can help you easily keep up-to-date with the latest composer version. + +1. run `brew install https://raw.github.com/gist/1574469/composer.rb +2. Change into a project directory `cd /path/to/my/project` +3. Use composer as you normally would `composer.phar install` + Configuration ------------- From 8b3af6231fc2ecdd07db1c6d5a320c4f26b14daf Mon Sep 17 00:00:00 2001 From: Wil Moore III Date: Sat, 7 Jan 2012 04:39:36 -0700 Subject: [PATCH 2/5] forgot the closing tick --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a564d685e..dbcc2c3f3 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Global installation of composer (via homebrew) Homebrew can help you easily keep up-to-date with the latest composer version. -1. run `brew install https://raw.github.com/gist/1574469/composer.rb +1. run `brew install https://raw.github.com/gist/1574469/composer.rb` 2. Change into a project directory `cd /path/to/my/project` 3. Use composer as you normally would `composer.phar install` From 752e4cc11fcd006d24776d90a816f0277d8416fa Mon Sep 17 00:00:00 2001 From: Wil Moore III Date: Sat, 7 Jan 2012 13:52:22 -0700 Subject: [PATCH 3/5] updated homebrew install/upgrade info based on changes to formula --- README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dbcc2c3f3..bc2e95add 100644 --- a/README.md +++ b/README.md @@ -51,12 +51,31 @@ in a system wide way. Global installation of composer (via homebrew) ---------------------------------------------- -Homebrew can help you easily keep up-to-date with the latest composer version. +Installing via this homebrew formula will always get you the latest composer version. -1. run `brew install https://raw.github.com/gist/1574469/composer.rb` +1. run `brew uninstall composer ; brew install https://raw.github.com/gist/1574469/composer.rb` 2. Change into a project directory `cd /path/to/my/project` 3. Use composer as you normally would `composer.phar install` +To upgrade: + +1. run `brew uninstall composer ; brew install https://raw.github.com/gist/1574469/composer.rb` + +Install or Upgrade to the latest version of composer +--------------------------------------------------------------------- + + +*You will see a warning "Warning: Cannot verify package integrity"; however, this is benign and expected.* + +Verify +-------- +- composer.phar --version +- brew home composer + + + + + Configuration ------------- From 4dc89c79408946d66881b36f77f8a9af14f112c3 Mon Sep 17 00:00:00 2001 From: Wil Moore III Date: Sat, 7 Jan 2012 13:52:56 -0700 Subject: [PATCH 4/5] updated homebrew install/upgrade info based on changes to formula --- README.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index bc2e95add..6dde11313 100644 --- a/README.md +++ b/README.md @@ -57,25 +57,12 @@ Installing via this homebrew formula will always get you the latest composer ver 2. Change into a project directory `cd /path/to/my/project` 3. Use composer as you normally would `composer.phar install` +*You will see a warning "Warning: Cannot verify package integrity"; however, this is benign and expected.* + To upgrade: 1. run `brew uninstall composer ; brew install https://raw.github.com/gist/1574469/composer.rb` -Install or Upgrade to the latest version of composer ---------------------------------------------------------------------- - - -*You will see a warning "Warning: Cannot verify package integrity"; however, this is benign and expected.* - -Verify --------- -- composer.phar --version -- brew home composer - - - - - Configuration ------------- From e39f6e1587cd748df89b4f2efa536e9163437d61 Mon Sep 17 00:00:00 2001 From: Wil Moore III Date: Sat, 7 Jan 2012 13:55:20 -0700 Subject: [PATCH 5/5] added callout note to manual install section --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6dde11313..dec32b8cf 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,8 @@ file as described above. 2. Download the [`composer.phar`](http://getcomposer.org/composer.phar) executable 3. Run Composer to get the dependencies: `php composer.phar install` -Global installation of composer -------------------------------- +Global installation of composer (manually) +------------------------------------------ Since composer works with the current working directory it is possible to install it in a system wide way.