PHP code example of tokens / email-sms

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

    

tokens / email-sms example snippets


$tokenEmailSms = new TokenEmailSms;

$tokenEmailSms->setAddress('[email protected]', '123456789');

$tokenEmailSms->send();

$tokenEmailSms->tokenSms():
$tokenEmailSms->tokenEmail():

composer.phar update
 token-email-sms-config-example.php 
 token-email-sms-config.php