-
Notifications
You must be signed in to change notification settings - Fork 51
/
vonage.php
77 lines (63 loc) · 2.55 KB
/
vonage.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
return [
/*
|--------------------------------------------------------------------------
| SMS "From" Number
|--------------------------------------------------------------------------
|
| This configuration option defines the phone number that will be used as
| the "from" number for all outgoing text messages. You should provide
| the number you have already reserved within your Vonage dashboard.
|
*/
'sms_from' => env('VONAGE_SMS_FROM'),
/*
|--------------------------------------------------------------------------
| API Credentials
|--------------------------------------------------------------------------
|
| The following configuration options contain your API credentials, which
| may be accessed from your Vonage dashboard. These credentials may be
| used to authenticate with the Vonage API so you may send messages.
|
*/
'api_key' => env('VONAGE_KEY'),
'api_secret' => env('VONAGE_SECRET'),
'application_id' => env('VONAGE_APPLICATION_ID'),
/*
|--------------------------------------------------------------------------
| Signature Secret
|--------------------------------------------------------------------------
|
| If your application is receiving webhooks from Vonage, you may wish to
| configure a message signature secret so that you can ensure each of
| the inbound webhook calls are actually originating within Vonage.
|
*/
'signature_secret' => env('VONAGE_SIGNATURE_SECRET'),
/*
|--------------------------------------------------------------------------
| Private Key
|--------------------------------------------------------------------------
|
| Some of Vonage's recent APIs utilize JWTs for authentication, which also
| require a private key so that they may be signed. You may define your
| application's private key string below via the configuration value.
|
*/
'private_key' => env('VONAGE_PRIVATE_KEY'),
/*
|--------------------------------------------------------------------------
| Application Identifiers
|--------------------------------------------------------------------------
|
| Adding an application name and version may assist you in identifying
| problems with your application or when viewing analytics for your
| application's API usage within the dedicated Vonage dashboards.
|
*/
'app' => [
'name' => env('VONAGE_APP_NAME', 'Laravel'),
'version' => env('VONAGE_APP_VERSION', '1.1.2'),
],
];