You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put the credentials & preferences in ENV with the keys `MSG91_KEY`, `MSG91_SENDER_ID`, `MSG91_ROUTE`, `MSG91_COUNTRY`. If you wan't to customize this, publish the default configuration which will create a config file `config/msg91.php`.
40
+
41
+
Put the credentials & preferences in ENV with the keys `MSG91_KEY`, `MSG91_SENDER_ID`, `MSG91_ROUTE`, `MSG91_COUNTRY`.
42
+
43
+
Optionally, you can use your own base uri by setting `MSG91_BASE_URI` (for resellers)
44
+
45
+
If you wan't to customize this, publish the default configuration which will create a config file `config/msg91.php`.
41
46
42
47
```bash
43
48
$ php artisan vendor:publish
@@ -47,39 +52,40 @@ $ php artisan vendor:publish
47
52
48
53
1. Send an SMS to one or more numbers. See the package config file to set up API access.
49
54
50
-
```php
55
+
```php
56
+
57
+
$result = LaravelMsg91::message(919090909090, 'This is a test message');
51
58
52
-
$result = LaravelMsg91::message(919090909090, 'This is a test message');
59
+
$result = LaravelMsg91::message(array('919090909090', '919090909091'), 'This is a test message to multiple recepients');
53
60
54
-
$result = LaravelMsg91::message(array('919090909090', '919090909091'), 'This is a test message to multiple recepients');
0 commit comments