PHP code example of shafimsp / laravel-sms-notification-channel-smscountry-driver

1. Go to this page and download the library: Download shafimsp/laravel-sms-notification-channel-smscountry-driver 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/ */

    

shafimsp / laravel-sms-notification-channel-smscountry-driver example snippets


    'smscountry' => [
        // Set yor login credentials to communicate with mobily.ws Api
        'user' => env('SMS_COUNTRY_USER', ''),
        'password' => env('SMS_COUNTRY_PASSWORD', ''),

        'sms_from' => env('SMS_FROM', ''),

        /*
        |--------------------------------------------------------------------------
        | Define options for the Http request. (Guzzle http client options)
        |--------------------------------------------------------------------------
        |
        | You do not need to change any of these settings.
        |
        |
        */
        'guzzle' => [
            'client' => [
                // The Base Uri of the Api. Don't Change this Value.
                'base_uri' => 'http://api.smscountry.com/',
            ],

            // Request Options. http://docs.guzzlephp.org/en/stable/request-options.html
            'request' => [
                'http_errors' => true,
                // For debugging
                'debug' => false,
            ],
        ],
    ]