Skip to content

cutcop/jgtuisong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

push

Introduction

Third party message push

Install

$ composer require cutcop/jgtuisong

Demo

<?php

require __DIR__ . '/vendor/autoload.php';

$appKey = 'your-app-key';
$masterSecret = 'your-master-secret';

$alert = 'Hi JPush!';
$extras = [
    'type' => 1,
    'url' => ''
];
$platform = ['android', 'ios'];
$audience = [
    'alias' => ['13888888888']
];

$push = new Cutcop\Jgtuisong\JPush($appKey, $masterSecret);
$push->push($alert, $extras, $platform, $audience);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages