alexeevdv / yii2-sms-ge-unicard
Package info
github.com/alexeevdv/yii2-sms-ge-unicard
Type:yii2-extension
pkg:composer/alexeevdv/yii2-sms-ge-unicard
1.0.1
2018-05-16 12:02 UTC
Requires
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-01 00:55:20 UTC
README
Yii2 wrapper for Geordian UNICARD sms provider
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require alexeevdv/yii2-sms-ge-unicard "~1.0.0"
or add
"alexeevdv/yii2-sms-ge-unicard": "~1.0.0"
to the require section of your composer.json file.
Configuration
Via application component
'components' => [ 'sms' => [ 'class' => \alexeevdv\sms\ge\unicard\Provider::class, // If you want to ensure only Georgia phone numbers would be sent //'destinationChecker' => \alexeevdv\sms\ge\unicard\GeorgiaDestinationChecker::class, ], ],
Usage
Yii::$app ->sms ->compose('view', ['attribute' => 'value']) ->setTo('123412341234') ->setFrom('Sender') ->send() ;