@@ -36,8 +36,8 @@ Add `Craftsys\Msg91\Msg91LaravelServiceProvider` to the `providers` array in you
3636
3737``` php
3838'providers' => [
39- // Other service providers...
40- Craftsys\Msg91\Msg91LaravelServiceProvider::class,
39+ // Other service providers...
40+ Craftsys\Msg91\Msg91LaravelServiceProvider::class,
4141],
4242```
4343
@@ -51,8 +51,8 @@ Or add an alias in your `config/app.php`
5151
5252``` php
5353'aliases' => [
54- // other aliases here
55- 'Msg91' => Craftsys\Msg91\Facade\Msg91::class,
54+ // other aliases here
55+ 'Msg91' => Craftsys\Msg91\Facade\Msg91::class,
5656],
5757```
5858
@@ -76,10 +76,10 @@ The package can be configured by providing a `msg91` key inside your `config/ser
7676<?php
7777
7878return [
79- // along with other services
80- "msg91": [
81- 'key' => env("Msg91_KEY"),
82- ],
79+ // along with other services
80+ "msg91" => [
81+ 'key' => env("Msg91_KEY"),
82+ ],
8383];
8484```
8585
@@ -93,8 +93,8 @@ Once you have [Configured](#configuration) the Laravel/Lumen application to use
9393
9494``` php
9595Msg91::otp()
96- ->to(919999999999)
97- ->send()
96+ ->to(919999999999)
97+ ->send()
9898```
9999
100100Next, follow along with [ examples] ( #examples ) to learn more
@@ -111,33 +111,33 @@ OTP services like sending, verifying, and resending etc, can be accessed via `ot
111111
112112``` php
113113Msg91::otp()
114- ->to(912343434312) // phone number with country code
115- ->send(); // send the otp
114+ ->to(912343434312) // phone number with country code
115+ ->send(); // send the otp
116116```
117117
118118### Verify OTP
119119
120120``` php
121121Msg91::otp(1234) // OTP to be verified
122- ->to(912343434312) // phone number with country code
123- ->verify(); // Verify
122+ ->to(912343434312) // phone number with country code
123+ ->verify(); // Verify
124124```
125125
126126### Resend OTP
127127
128128``` php
129129Msg91::otp()
130- ->to(912343434312) // set the mobile with country code
131- ->resend(); // resend otp
130+ ->to(912343434312) // set the mobile with country code
131+ ->resend(); // resend otp
132132```
133133
134134## Sending SMS
135135
136136``` php
137137Msg91::sms()
138- ->to(912343434312) // set the mobile with country code
139- ->message("Your message here"); // provide your message
140- ->send(); // send
138+ ->to(912343434312) // set the mobile with country code
139+ ->message("Your message here"); // provide your message
140+ ->send(); // send
141141```
142142
143143> For all the examples and options, please consult [ msg91-php examples section] [ client-examples ]
0 commit comments