mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-22 04:26:02 +03:00
README adjustments
This commit is contained in:
parent
95fd31ef45
commit
ce3de98777
@ -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
|
||||
|
41
SharedHostInstall.md
Normal file
41
SharedHostInstall.md
Normal file
@ -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).
|
Loading…
Reference in New Issue
Block a user