From 1637e80893fb0555a08dbee9516e92455d700e97 Mon Sep 17 00:00:00 2001 From: Robert Brown Date: Sat, 24 Oct 2015 16:34:35 +0100 Subject: [PATCH] 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 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ccbfdcd34..41b39ef10 100644 --- a/README.md +++ b/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