Skip to content

Commit a2bc54a

Browse files
committed
docs(readme): show how to check if it is working
1 parent 64bbc51 commit a2bc54a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ Or add an alias in your `config/app.php`
5656
],
5757
```
5858

59+
To verify that everything is working as expected, excecute the following php code somewhere in your application, either
60+
in an example route or in `php artisan tinker` if you are in Laravel.
61+
62+
```php
63+
// this should print an array of some default configuration values
64+
MSG91::otp()->toArray()
65+
```
66+
67+
If there is an issue, please check the steps again or open an issue for support.
68+
5969
## Configuration
6070

6171
As the [msg91-php][client] offers configuration that are similar to Laravel's configuration, this package simply ports the Laravel's configuration to the msg91-php client.

0 commit comments

Comments
 (0)