1
0
Fork 0

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
pull/4534/head
Robert Brown 2015-10-24 16:34:35 +01:00
parent f85d965732
commit 1637e80893
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,13 @@ Installation / Usage
$ curl -sS https://getcomposer.org/installer | php $ 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 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 a short version for applications that are not meant to be published as packages
themselves. To create libraries/packages please read the themselves. To create libraries/packages please read the