PHP code example of pashkinz92 / yii2-epochtasms

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

    

pashkinz92 / yii2-epochtasms example snippets


'components' => [
...
    'epochtasms'=>[
                'class' => 'pashkinz92\epochtasms\EpochtaClass',
                'sms_key_private' => 'sms_key_private',
                'sms_key_public' => 'sms_key_public',
                'name_sender' => 'name_sender',
                'testMode' => false, //Включение тестового режима
            ],
...
],

\Yii::$app->epochtasms->sendSMS('MESSAGE', 'USER_PHONE', 'USER_FROM'); 

php composer.phar