1
0
Fork 0

Merge pull request #188 from wilmoore/homebrew-install

Homebrew install
pull/182/merge
Jordi Boggiano 2012-01-08 09:11:37 -08:00
commit 9aa128d6e7
1 changed files with 17 additions and 2 deletions

View File

@ -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.
@ -48,6 +48,21 @@ 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)
----------------------------------------------
Installing via this homebrew formula will always get you the latest composer version.
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`
*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`
Configuration
-------------