Sfoglia il codice sorgente

Update readme.md to include php fall back

Update the README.md to include the php only command to install
composer incase curl is not available
Robert Brown 10 anni fa
parent
commit
1637e80893
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  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