pantera / yii2-sms
Sms sending extension
Installs: 975
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 6
Type:yii2-extension
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: >=5.0
- yiisoft/yii2: ^2.0
This package is not auto-updated.
Last update: 2025-03-28 22:38:24 UTC
README
This extension is designed to send sms messages through different services and protocols.
Installation
composer require pantera/yii2-sms
Configuration
//... 'components' => [ //... 'sms' => [ 'class' => 'pantera\sms\Sms', 'services' => [ // File 'file' => [ 'class' => 'pantera\sms\services\File' ], // smsonline.ru 'smsonline' => [ 'class' => 'pantera\sms\services\SmsOnline', 'login' => 'your login', 'password' => 'your password' ], // see more src/services ] ] //... ], //...
Usage
//... Yii::$app->sms->send('phone number', 'Lily Was Here'); //...