%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/craftsys/msg91-php/config/ |
Upload File : |
<?php
/*
|----------------------------------------------------------------------
| Configuration for Msg91 Client
|----------------------------------------------------------------------
| Set some default values for thenclient. All the defaults can be over
| written at runtime.
*/
return [
/**
|--------------------------------------------------------------------------
| Authentication Token
|--------------------------------------------------------------------------
| Authentication token required for any communication with APIs. This can
| be retrieved from your Msg91's dashboard under the API > configuration
| section
*/
'token' => '<your_token_here>',
/**
|--------------------------------------------------------------------------
| OTP Message
|--------------------------------------------------------------------------
| This provides a template for OTP messages. ##OTP## placeholder MUST be
| included in the message where the values of OTP will be substituted.
*/
"otp_message" => "Your verification code is ##OTP##",
/**
|--------------------------------------------------------------------------
| Resend OTP Method
|--------------------------------------------------------------------------
| This sets the default method of communication when attempting to resend
| the OTP. We have two ways: text or voice.
*/
"resend_otp_method" => "text",
/**
|--------------------------------------------------------------------------
| Default sender id
|--------------------------------------------------------------------------
| This values sets the `sender` option in apis which is used as the "From"
| in messaging applications.
*/
"from" => null,
/**
|--------------------------------------------------------------------------
| OTP Length
|--------------------------------------------------------------------------
| The default length of the OTPs. This can be used when we are not
| generating OTP on our end and letting the Msg91 generate and
| store otp for us. This should be between from [4,9]
*/
"otp_length" => 4,
/**
|--------------------------------------------------------------------------
| OTP Expiry time
|--------------------------------------------------------------------------
| Expiry time (in minutes) for which the send OTP is valid. The minimum
| values is 1 minute. Use integer values only.
*/
"otp_expiry" => 5,
/**
|--------------------------------------------------------------------------
| Route for SMS
|--------------------------------------------------------------------------
| If your operator supports multiple routes then give one route name.
| Eg: route=1 for promotional, route=4 for transactional SMS.
| For SendOTP routes, use otp api instead of sms
*/
"route" => null,
/**
|--------------------------------------------------------------------------
| Unicode
|--------------------------------------------------------------------------
| If all your messages includes unicode, set it's value to 1, else set
| it when calling the sms apis.
*/
"unicode" => 0,
];