PHP code example of bigraja / bulksmsbd

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

    

bigraja / bulksmsbd example snippets


use BulkSmsBD;

BulkSmsBD::send('88017XXXXXXXX', 'Your message');

public function via($notifiable)
{
    return [\Bigraja\BulkSmsBD\BulkSmsBDChannel::class];
}

public function toBulkSmsBD($notifiable)
{
    return "Your SMS message";
}
bash
php artisan vendor:publish --provider="Bigraja\BulkSmsBD\BulkSmsBDServiceProvider" --tag="bulksmsbd-config"