PHP code example of abdullahobaid / sms

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

    

abdullahobaid / sms example snippets


$ php artisan vendor:publish --provider="abdullahobaid\sms\SmsProvider"
 
SMS::Balance($gatewayName = false);
 
SMS::Send($numbers,$message,$dateTime=false,$senderName=false,$gatwayName=false);
 
SMS::Send(966555555555, 'Your Message Here');
 
$numbers = array('966555555555','966545555555','966565555555');
SMS::Send($numbers, 'Your Message Here');
 
SMS::send(966555555555, 'Your Message Here', $dateTime);
 
SMS::Balance();
 
SMS::count_messages($text);
 
SMS::Send(966555555555, 'Your Message Here', $dateTime=false,'SenderName');