mrssoft/yii2-mts-communicator

Extension for sending SMS through MTS Communicator M2M API

Maintainers

Package info

github.com/mrs2000/yii2-mts-communicator

Type:yii2-extension

pkg:composer/mrssoft/yii2-mts-communicator

Statistics

Installs: 76

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

2.0.2 2019-12-04 07:35 UTC

This package is auto-updated.

Last update: 2026-03-04 22:05:31 UTC


README

Extension for sending SMS through MTS Communicator M2M API

Latest Stable Version PHP Total Downloads

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist mrssoft/yii2-mts-communicator "*"

or add

"mrssoft/yii2-mts-communicator": "*"

to the require section of your composer.json file.

Usage

Configuration:

// API MTS Communicator version 2.1
'components' => [
    ...
    'mts' => [
        'class' => 'mrssoft\mts\Communicator',
        'token' => '',
        'naming' => 'BRAND'
    ]
    ....
]

Usage:

$mts = new Communicator();

$mts->sendMessage('Message', '79830000000');
$mts->sendMessages('Message', ['79830000000', '79830000001']);