Skip to content

Commit

Permalink
Merge pull request #510 from nalinbhardwaj/GAE-instructions
Browse files Browse the repository at this point in the history
Adding Google App engine installation with composer instructions
  • Loading branch information
Matt Bernier committed Dec 20, 2017
2 parents 0a4f9be + 7e3c798 commit 2884aae
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
8 changes: 7 additions & 1 deletion TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ If you can't find a solution below, please open an [issue](https://github.com/se
* [Using the Package Manager](#package-manager)
* [Fixing Error 415](#error-415)
* [Viewing the Request Body](#request-body)
* [Google App Engine installation](#GAE-instructions)

<a name="migrating"></a>
## Migrating from v2 to v3
Expand Down Expand Up @@ -110,4 +111,9 @@ You can do this right before you call `$response = $sg->client->mail()->send()->

```php
echo json_encode($mail, JSON_PRETTY_PRINT);
```
```

<a name="GAE-instructions"></a>
## Google App Engine installation

Please refer to [`USE_CASES.md`](https://github.com/sendgrid/sendgrid-php/blob/master/USE_CASES.md#GAE-instructions) for additional instructions.
12 changes: 12 additions & 0 deletions USE_CASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This documentation provides examples for specific use cases. Please [open an iss
* [Transactional Templates](#transactional-templates)
* [How to Setup a Domain Whitelabel](#domain-whitelabel)
* [How to View Email Statistics](#email-stats)
* [Additional instructions for Google App Engine installation](#GAE-instructions)

<a name="attachments"></a>
# Attachments
Expand Down Expand Up @@ -182,3 +183,14 @@ Find more information about all of SendGrid's whitelabeling related documentatio
You can find documentation for how to view your email statistics via the UI [here](https://app.sendgrid.com/statistics) and via API [here](https://github.com/sendgrid/sendgrid-php/blob/master/USAGE.md#stats).

Alternatively, we can post events to a URL of your choice via our [Event Webhook](https://sendgrid.com/docs/API_Reference/Webhooks/event.html) about events that occur as SendGrid processes your email.

<a name="GAE-instructions"></a>
# Additional instructions for Google App Engine installation

Google App Engine installations with composer require creation of file `php.ini` in the base folder(the same directory as the `app.yaml` file). You can read more about this file [here](https://cloud.google.com/appengine/docs/standard/php/config/php_ini).

The file `php.ini` should contain:

```ini
google_app_engine.enable_curl_lite = 1
```

0 comments on commit 2884aae

Please sign in to comment.