rakhmatov/yii2-playmobile Sms sender via playmobile.uz

Playmobile

  1. Installation
  2. Usage

Playmobile

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist rakhmatov/yii2-playmobile "*"

or add

"rakhmatov/yii2-playmobile": "*"

to the require section of your composer.json file.

Usage

execute the migration here

yii migrate --migrationPath=@vendor/rakhmatov/yii2-playmobile/src/migrations

add this to components

        'playmobile' => [
            'class' => \rakhmatov\playmobile\components\Connection::class,
            'username' => 'here playmobile login',
            'password' => 'here playmobile password',
        ],

example

`

\Yii::$app->playmobile->sendSms('+998999999999', 'Hello from playmobile')
       

`

2 0
2 followers
39 downloads
Yii Version: 2.0
License: MIT
Category: Web Service
Developed by: rakhmatov
Created on: Dec 21, 2018
Last updated: 5 months ago
Packagist Profile
Code Repository

Related Extensions