# Twilio

You will need an [Twilio](https://www.twilio.com/) account to send SMS with their API. API credential are sent on **`.env`** file.

{% content-ref url="broken-reference" %}
[Broken link](https://simcycreative.gitbook.io/signer/php-functions/email-and-sms/sms/broken-reference)
{% endcontent-ref %}

Let's get started with sending SMS

## Parameters

All parameters are required

| Parameter    | Type         | Description                                         |
| ------------ | ------------ | --------------------------------------------------- |
| $phoneNumber | **`string`** | The phone number of the recipient with country code |
| $message     | **`string`** | The SMS message body                                |

## Usage

```php
use Simcify\Sms;

Sms::twilio("+254720783834","Hey John, how are you doing?");
```

## Response

Response will be a boolean. True or False
