diff --git a/README.md b/README.md index 858dc30..a9cfa0f 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,8 @@ curl -sS https://getcomposer.org/installer | php php composer.phar require mailgun/mailgun-php:~1.2 ``` -For shared hosts with SSH access, you might need to run this instead (contact -your shared host for assistance): -``` -php -d detect_unicode=Off -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" +**For shared hosts without SSH access, check out our [Shared Host Instructions](SharedHostInstall.md).** + ``` Next, require Composer's autoloader, in your application, to automatically diff --git a/SharedHostInstall.md b/SharedHostInstall.md new file mode 100644 index 0000000..10f9e1e --- /dev/null +++ b/SharedHostInstall.md @@ -0,0 +1,41 @@ +Shared Host Installation +======================== + +If you do not have SSH access to your server, fear not! You can still run +composer and download the SDK. Here's how... + +Installation +------------ + +Linux / Mac OSX: +*PHP is typically installed by default, consult your distribution documentation. +Instructions from [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).* + +1. curl -sS https://getcomposer.org/installer | php +2. php composer.phar require mailgun/mailgun-php:~1.2 +3. The files will be downloaded to your local computer. +4. Upload the files to your webserver. + + +Windows: +*PHP must be installed on your computer, [download](http://windows.php.net/download/0)* +Instructions from [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-windows). + +1. Download and run [Composer-Setup.exe](https://getcomposer.org/Composer-Setup.exe). +2. Open a Command Prompt and type "php composer require mailgun/mailgun-php:~1.2". +3. The files will be downloaded to your local computer. +4. Upload the files to your webserver. + + +Support and Feedback +-------------------- + +Be sure to visit the Mailgun official +[documentation website](http://documentation.mailgun.com/) for additional +information about our API. + +If you find a bug, please submit the issue in Github directly. +[Mailgun-PHP Issues](https://github.com/mailgun/Mailgun-PHP/issues) + +As always, if you need additional assistance, drop us a note at +[support@mailgun.com](mailto:support@mailgun.com).