PHP code example of hizbul / onnorokom-sms

1. Go to this page and download the library: Download hizbul/onnorokom-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/ */

    

hizbul / onnorokom-sms example snippets


    'providers' => [
        // ...
        Hizbul\OnnorokomSms\OnnorokomSmsServiceProvider::class,
    ]

    'aliases' => [
        // ...
        'OnnoRokomSMS' => Hizbul\OnnorokomSms\Facades\OnnoRokomSMS::class,
    ]


    onnorokom_sms(['message' => 'some text msg', 'mobile_number' => '01918....']);


    onnorokom_sms(['message' => 'some text msg', 'mobile_number' => ['01918....', '0171....']]);
$ php artisan vendor:publish --provider="Hizbul\OnnorokomSms\OnnorokomSmsServiceProvider"