From b6cd2f6e083a9eeb3a4ecc73217b969fdb92b794 Mon Sep 17 00:00:00 2001 From: Gergo Erdosi Date: Thu, 17 May 2012 17:06:57 +0300 Subject: [PATCH] Update Homebrew installation instructions. Composer is now part of the homebrew-php repository which is used by most of the Homebrew users. The Gist formula in the previous version of the instructions raises a warning, which might confuse users. The installation of the new formula runs seamlessly without any warnings. --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c8a3baa00..611729dd0 100644 --- a/README.md +++ b/README.md @@ -58,14 +58,11 @@ in a system wide way. Global installation of Composer (via homebrew) ---------------------------------------------- -Installing via this homebrew formula will always get you the latest Composer version. +Composer is part of the homebrew-php project. -1. run `brew uninstall composer ; brew install --HEAD 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` - -*You will see a warning "Warning: Cannot verify package integrity"; however, -this is benign and expected.* +1. Tap the homebrew-php repository into your brew installation if you haven't done yet: `brew tap josegonzalez/homebrew-php` +2. Run `brew install composer-php`. +3. Use Composer with the `composer` command. Updating Composer -----------------