fgh151/yii2-push Mobile (Android, ios) push notifications extension

pushandroidios

Yii2 Mobile (Android, ios) push notifications extension

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"fgh151/yii2-push": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply add it in your config by :

Basic config/web.php

Advanced [backend|frontend|common]/config/main.php

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

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

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

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.1 is the latest of one release



Apache-2.0 license
Stats
0 github stars & 1 github forks
0 downloads in the last day
3 downloads in the last 30 days
38 total downloads