Skip to content

Commit 7a04876

Browse files
author
Greg Holmes
authored
Updated NEXMO_ references to VONAGE_ in README.md (#254)
Due to the Rebrand, references to NEXMO have been updated to Vonage. This includes the placeholders where users are instructed to replace the values with their own unique values
1 parent a397028 commit 7a04876

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ To use [Vonage's SMS API][doc_sms] to send an SMS message, call the `$client->sm
7676
required parameters, and a fluent interface provides access to optional parameters.
7777

7878
```php
79-
$text = new \Vonage\SMS\Message\SMS(NEXMO_TO, NEXMO_FROM, 'Test message using PHP client library');
79+
$text = new \Vonage\SMS\Message\SMS(VONAGE_TO, VONAGE_FROM, 'Test message using PHP client library');
8080
$text->setClientRef('test-message');
8181
```
8282

@@ -234,8 +234,8 @@ All `$client->voice()` methods require the client to be constructed with a `Vona
234234
```php
235235
$basic = new \Vonage\Client\Credentials\Basic('key', 'secret');
236236
$keypair = new \Vonage\Client\Credentials\Keypair(
237-
file_get_contents((NEXMO_APPLICATION_PRIVATE_KEY_PATH),
238-
NEXMO_APPLICATION_ID
237+
file_get_contents((VONAGE_APPLICATION_PRIVATE_KEY_PATH),
238+
VONAGE_APPLICATION_ID
239239
);
240240

241241
$client = new \Vonage\Client(new \Vonage\Client\Credentials\Container($basic, $keypair));
@@ -458,7 +458,7 @@ $client->numbers()->purchase('14155550100', 'US');
458458
To update a number, use `numbers()->update` and pass in the configuration options you want to change. To clear a setting, pass in an empty value.
459459

460460
```php
461-
$number = $client->numbers()->get(NEXMO_NUMBER);
461+
$number = $client->numbers()->get(VONAGE_NUMBER);
462462
$number
463463
->setAppId('1a20a124-1775-412b-b623-e6985f4aace0')
464464
->setVoiceDestination('447700900002', 'tel')

0 commit comments

Comments
 (0)