PHP code example of platolin / twsms-sender

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

    

platolin / twsms-sender example snippets

 php


        $longsms ='N';
        $TwsmsSender = new TwSmsSender('username','password');
        $result = $TwsmsSender->send('0975000000', 'test sms message', '201612312359' ,$longsms);