Skip to content

Commit

Permalink
feat(sms): add sms apis
Browse files Browse the repository at this point in the history
  • Loading branch information
sudkumar committed Oct 21, 2019
1 parent bd8a1b2 commit 13b6fd1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@ Msg91::otp()
->resend(); // resend otp
```

## Sending SMS

```php
Msg91::sms()
->to(912343434312) // set the mobile with country code
->message("Your message here"); // provide your message
->send(); // send
```

> For all the examples and options, please consult [msg91-php examples section][client-examples]
[client]: https://github.com/craftsys/msg91-php
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"require": {
"php": ">=7.1",
"craftsys/msg91-php": "^0.6",
"craftsys/msg91-php": "^0.7",
"illuminate/support": "^5.2|^6.0"
},
"require-dev": {
Expand Down

0 comments on commit 13b6fd1

Please sign in to comment.