Skip to content

Commit 13b6fd1

Browse files
committed
feat(sms): add sms apis
1 parent bd8a1b2 commit 13b6fd1

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,15 @@ Msg91::otp()
131131
->resend(); // resend otp
132132
```
133133

134+
## Sending SMS
135+
136+
```php
137+
Msg91::sms()
138+
->to(912343434312) // set the mobile with country code
139+
->message("Your message here"); // provide your message
140+
->send(); // send
141+
```
142+
134143
> For all the examples and options, please consult [msg91-php examples section][client-examples]
135144
136145
[client]: https://github.com/craftsys/msg91-php

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"require": {
2727
"php": ">=7.1",
28-
"craftsys/msg91-php": "^0.6",
28+
"craftsys/msg91-php": "^0.7",
2929
"illuminate/support": "^5.2|^6.0"
3030
},
3131
"require-dev": {

0 commit comments

Comments
 (0)