itsmh / yii2-payam-resan
payam-resan sms panel yii2 integration
Package info
github.com/itsmh/yii2-payam-resan
Type:yii2-extension
pkg:composer/itsmh/yii2-payam-resan
0.1.1
2018-11-24 09:22 UTC
Requires
- ext-soap: >=1.2
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2026-03-25 12:04:25 UTC
README
payam-resan sms panel yii2 integration
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist itsmh/yii2-payam-resan "*"
or add
"itsmh/yii2-payam-resan": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
'components' => [ 'sms' => [ 'class' => 'itsmh\yii2payamresan\sms', 'username' => "username-goes-here", 'password' => "password-goes-here", 'sendNumber' => "+98XXXXXXXXXXX" ], // other components ...
and in you app you can access it via Yii::$app->sms->send("Some text", "09XXXXXXXXX");
TO DO
- Send sms
- Get status of the message
- Send bulk sms
- Contacts