瀏覽代碼

Merge pull request #4534 from retbrown/readme_update

Update readme.md to include php fall back
Rob 9 年之前
父節點
當前提交
a9f7480327
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      README.md

+ 7 - 0
README.md

@@ -17,6 +17,13 @@ Installation / Usage
     ``` sh
     $ curl -sS https://getcomposer.org/installer | php
     ```
+    
+    > **Note:** If the above fails for some reason, you can download the installer
+    > with `php` instead:
+
+    ```sh
+    php -r "readfile('https://getcomposer.org/installer');" | php
+    ```
 
 2. Create a composer.json defining your dependencies. Note that this example is
 a short version for applications that are not meant to be published as packages