PHP code example of fgh151 / yii2-epochta-lite
1. Go to this page and download the library: Download fgh151/yii2-epochta-lite 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/ */
fgh151 / yii2-epochta-lite example snippets
'components' => [
'sms' => [
'class' => \cfgh151\modules\epochta\Sms::class
]
],
return [
'epochta-key' => 'your-epochta-key',
'epochta-secret' => 'your-epochta-secret',
'epochta-sender' => Sender Name,
];
Yii::$app->sms->send('Message text', '+9 (999) 999 99 99');
php composer.phar