2017 © Pedro Peláez
 

yii2-extension yii2-push

Mobile (Android, ios) push notifications extension

image

fgh151/yii2-push

Mobile (Android, ios) push notifications extension

  • Thursday, January 14, 2016
  • by fgh151
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yii2 Mobile (Android, ios) push notifications extension

Installation

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

php composer.phar require --prefer-dist fgh151/yii2-push "*"

or add, (*3)

"fgh151/yii2-push": "*"

to the require section of your composer.json file., (*4)

Usage

Once the extension is installed, simply add it in your config by :, (*5)

Basic config/web.php, (*6)

Advanced [backend|frontend|common]/config/main.php, (*7)

    'modules'    => [
        'push' => [
            'class' => 'fgh151\modules\push\Module',
        ],
        ...
        ...
    ],

<?php include_once 'class.push.php'; $push = new pushmessage();, (*8)

$params = array("pushtype"=>"android", $idphone=>"android_smart_phone_id_here", $mst=>"Hello, an android user"); $rtn = $push->sendMessage($params); //print_r($rtn);, (*9)

The Versions

14/01 2016

dev-master

9999999-dev http://openitstudio.ru

Mobile (Android, ios) push notifications extension

  Sources   Download

Apache-2.0

The Requires

 

yii2 ios push android

14/01 2016

0.0.1

0.0.1.0 http://openitstudio.ru

Mobile (Android, ios) push notifications extension

  Sources   Download

Apache-2.0

The Requires

 

yii2 ios push android