# v3 API PHP Code Example

> \[!NOTE]
>
> We recommend using Twilio SendGrid PHP, our client library, [available on GitHub](https://github.com/sendgrid/sendgrid-php), with full documentation.

> \[!NOTE]
>
> Do you have an [API Key](https://app.sendgrid.com/settings/api_keys) yet? If not, go get one. You're going to need it to integrate!
>
> Make sure you've set the [SENDGRID\_API\_KEY](https://github.com/sendgrid/sendgrid-php#setup-environment-variables) environment variable in your env file.

## Using Twilio SendGrid's PHP Library

Please see the [Twilio SendGrid PHP example code at GitHub](https://github.com/sendgrid/sendgrid-php/blob/main/USE_CASES.md#send-an-email-to-a-single-recipient).
