@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | | |
23 | 23 | */ |
24 | 24 | 'drivers' => [ |
25 | - 'sns' => [ // Install: composer require aws/aws-sdk-php |
|
25 | + 'sns' => [// Install: composer require aws/aws-sdk-php |
|
26 | 26 | 'key' => 'Your AWS SNS Access Key', |
27 | 27 | 'secret' => 'Your AWS SNS Secret Key', |
28 | 28 | 'region' => 'Your AWS SNS Region', |
@@ -35,17 +35,17 @@ discard block |
||
35 | 35 | 'hash' => 'Your Hash', |
36 | 36 | 'sender' => 'Sender Name', |
37 | 37 | ], |
38 | - 'nexmo' => [ // Install: composer require nexmo/client |
|
38 | + 'nexmo' => [// Install: composer require nexmo/client |
|
39 | 39 | 'key' => 'Your Nexmo API Key', |
40 | 40 | 'secret' => 'Your Nexmo API Secret', |
41 | 41 | 'from' => 'Your Nexmo From Number', |
42 | 42 | ], |
43 | - 'twilio' => [ // Install: composer require twilio/sdk |
|
43 | + 'twilio' => [// Install: composer require twilio/sdk |
|
44 | 44 | 'sid' => 'Your SID', |
45 | 45 | 'token' => 'Your Token', |
46 | 46 | 'from' => 'Your Default From Number', |
47 | 47 | ], |
48 | - 'clockwork' => [ // Install: composer require mediaburst/clockworksms |
|
48 | + 'clockwork' => [// Install: composer require mediaburst/clockworksms |
|
49 | 49 | 'key' => 'Your clockwork API Key', |
50 | 50 | ], |
51 | 51 | 'linkmobility' => [ |
@@ -54,13 +54,13 @@ discard block |
||
54 | 54 | 'password' => 'Your Password', |
55 | 55 | 'sender' => 'Sender name', |
56 | 56 | ], |
57 | - 'melipayamak' => [ // Install: composer require melipayamak/php |
|
57 | + 'melipayamak' => [// Install: composer require melipayamak/php |
|
58 | 58 | 'username' => 'Your Username', |
59 | 59 | 'password' => 'Your Password', |
60 | 60 | 'from' => 'Your Default From Number', |
61 | 61 | 'flash' => false, |
62 | 62 | ], |
63 | - 'kavenegar' => [ // Install: composer require kavenegar/php |
|
63 | + 'kavenegar' => [// Install: composer require kavenegar/php |
|
64 | 64 | 'apiKey' => 'Your Api Key', |
65 | 65 | 'from' => 'Your Default From Number', |
66 | 66 | ], |
@@ -10,10 +10,10 @@ |
||
10 | 10 | class Nexmo extends Driver |
11 | 11 | { |
12 | 12 | /** |
13 | - * Settings. |
|
14 | - * |
|
15 | - * @var object |
|
16 | - */ |
|
13 | + * Settings. |
|
14 | + * |
|
15 | + * @var object |
|
16 | + */ |
|
17 | 17 | protected $settings; |
18 | 18 | |
19 | 19 | /** |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | foreach ($this->recipients as $recipient) { |
48 | 48 | $result = $this->client->request( |
49 | 49 | 'POST', |
50 | - $this->settings->url.'api/MessageSend', |
|
50 | + $this->settings->url . 'api/MessageSend', |
|
51 | 51 | $this->payload($recipient, $token) |
52 | 52 | ); |
53 | 53 | $response->put($recipient, $result); |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | 'SecretKey' => $this->settings->secretKey, |
90 | 90 | ]; |
91 | 91 | $response = $this->client->post( |
92 | - $this->settings->url.'api/Token', |
|
92 | + $this->settings->url . 'api/Token', |
|
93 | 93 | ['json' => $body, 'connect_timeout' => 30] |
94 | 94 | ); |
95 | 95 |