PHP code example of xoxoday / sms

1. Go to this page and download the library: Download xoxoday/sms library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

xoxoday / sms example snippets


return [
    'kaleyra_sms_api_key' => env('KALEYRA_SMS_API_KEY', 'Set your API KEY'),

    'kaleyra_sms_message_otp' => env('KALEYRA_SMS_MESSAGE_OTP', 'Your OTP for login is {{1}} for Golfer\'s Shot
Powered by Xoxoday'),

'kaleyra_sms_sender_id' => env('KALEYRA_SMS_SENDER', 'Set your SMS sender ID'),

    'kaleyra_sms_api_url' => env('KALEYRA_SMS_API_URL', 'https://global.solutionsinfini.com/api/v4/?api_key='),
];

$ php artisan queue:table
$ php artisan migrate
sh
$ php artisan migrate
sh
$ php artisan vendor:publish  --tag="sms_files"