Skip to content

Ulugbek-Muhammadjonov/playmobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playmobile

Playmobile sms service

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"ulugbek/playmobile": "*"

to the require section of your composer.json file.

Usage

throw this into the components

'sms' => [
    'class' => \ulugbek\playmobile\components\Sms::class,
],

throw this into the modules

'playmobile' => [
    'class' => 'ulugbek\playmobile\Modul',
],

for migration

php yii migrate/up --migrationPath=@vendor/ulugbek/playmobile/migrations

it can be used anywhere in the view

Yii::$app->sms->send('998916700607', 'Your message')

About

Playmobile sms service for yii2

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages