kristoy0 / yii2-sms-dexatel
SMS sending for Yii2 via Dexatel provider
Installs: 92
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:yii2-extension
pkg:composer/kristoy0/yii2-sms-dexatel
Requires
- guzzlehttp/guzzle: ^6.0
- mikk150/yii2-sms: ^1.0
- yiisoft/yii2: ^2.0
Requires (Dev)
- codeception/codeception: ^4.2
- codeception/module-asserts: ^1.0.0
- codeception/module-yii2: ^1.1
This package is not auto-updated.
Last update: 2025-10-15 00:33:02 UTC
README
Yii2 wrapper for Dexatel sms provider.
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require kristoy0/yii2-sms-dexatel "^1.0.0"
or add
"kristoy0/yii2-sms-dexatel": "^1.0.0"
to the `require` section of your composer.json file.
Configuration
Via application component
'components' => [
'sms' => [
'class' => kristoy0\sms\dexatel\Provider::class,
'apiKey' => '<your dexatel API key>',
],
],
Usage
Yii::$app
->sms
->compose('Text to send', ['attribute' => 'value'])
->setTo('123412341234')
->setFrom('Sender')
->send();