Przeglądaj źródła

Move homebrew docs to the docs

Jordi Boggiano 11 lat temu
rodzic
commit
28abb08da8
2 zmienionych plików z 10 dodań i 10 usunięć
  1. 0 9
      README.md
  2. 10 1
      doc/00-intro.md

+ 0 - 9
README.md

@@ -49,15 +49,6 @@ Global installation of Composer (manual)
 
 Follow instructions [in the documentation](http://getcomposer.org/doc/00-intro.md#globally)
 
-Global installation of Composer (for OSX/homebrew)
-----------------------------------------------
-
-Composer is part of the homebrew-php project.
-
-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 josegonzalez/php/composer`.
-3. Use Composer with the `composer` command.
-
 Updating Composer
 -----------------
 

+ 10 - 1
doc/00-intro.md

@@ -91,6 +91,15 @@ You can run these commands to easily access `composer` from anywhere on your sys
 
 Then, just run `composer` in order to run Composer instead of `php composer.phar`.
 
+#### Globally (on OSX via homebrew)
+
+Composer is part of the homebrew-php project.
+
+1. Tap the homebrew-php repository into your brew installation if you haven't done
+   so yet: `brew tap josegonzalez/homebrew-php`
+2. Run `brew install josegonzalez/php/composer`.
+3. Use Composer with the `composer` command.
+
 ## Installation - Windows
 
 ### Using the Installer
@@ -108,7 +117,7 @@ composer.phar:
 
     C:\Users\username>cd C:\bin
     C:\bin>php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
-    
+
 > **Note:** If the above fails due to file_get_contents, use the `http` url or enable php_openssl.dll in php.ini
 
 Create a new `composer.bat` file alongside `composer.phar`: