PHP code example of lelevar / sms

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

    

lelevar / sms example snippets


'providers' => [
    // Other service providers...
    Lelevar\Sms\SmsServiceProvider::class,
],

'aliases' => [
    // Other aliases...
    'SmsService' => Lelevar\Sms\Facades\SmsService::class,
],

use Lelevar\Sms\Facades\SmsService;

$response = LelevarSendSms([
    'mobile' => '**********',
    'content' => 'Hello World!',
    'sender_name' => '*******',
]);

dd($response);