PHP code example of maatify / smseg

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

    

maatify / smseg example snippets


use Maatify\SmsEG\SmsEG;

ERNAME__, __PASSWORD__, __SENDER_NAME__); // SmsEG instance


$result = $sms_eg->CheckBalance();

print_r($result);


$result = $sms_eg->SendSms(__PHONE_NUMBER__, __SMS_MESSAGE__);

print_r($result);