dev-master
9999999-dev https://github.com/yii2-extension/yii2-jpushyii2 extension for jpush
BSD-3-Clause
The Requires
by shenzhongwei
extension yii2
yii2 extension for jpush
extension for JPush, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist shenzhongwei/yii2-jpush "*"
or add, (*4)
"shenzhongwei/yii2-jpush": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
php
<?php
$push = new \common\JPush\PushModel();
$push->PushReg('you_content',['your_registArr'],'your_title',['your_extraArr'],'your_alert',$your_env=false,'your_platform');
?>
'or'
PushAll('you_content','your_title',['your_extraArr'],'your_alert',$your_env=false,'your_platform');
?>```, (*7)
yii2 extension for jpush
BSD-3-Clause
extension yii2