PHP code example of sinarahmany / laravel-voipms

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

    

sinarahmany / laravel-voipms example snippets


use Sinarahmany\LaravelVoipMs\VoipMs;

VoipMs::sendSMS($yourNumber, $yourText);

VoipMs::sendMMS($yourNumber, $yourText, $imageurl (optional));
// Note: $imageUrl is optional.

VoipMs::getSMS(['id' => $smsId, 'from' => $fromDate, 'to' => $toDate, 'type' => $smsType, 'contact' => $contactNumber, 'limit' => $limit]);
// Note: passed params are optional.