itsmh / yii2-payam-resan
payam-resan sms panel yii2 integration
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- ext-soap: >=1.2
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-09-25 08:39:56 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