https://github.com/yanlongma/push
Third party message push
https://github.com/yanlongma/push
Last synced: 3 months ago
JSON representation
Third party message push
- Host: GitHub
- URL: https://github.com/yanlongma/push
- Owner: yanlongma
- Created: 2017-12-18T05:00:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-15T04:24:15.000Z (almost 7 years ago)
- Last Synced: 2025-04-12T09:52:13.412Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# push
## Introduction
Third party message push
## Install
```
$ composer require yanlongma/push
```## Demo
```php
1,
'url' => 'http://www.mayanlong.com'
];
$platform = ['android', 'ios'];
$audience = [
'alias' => ['13888888888']
];$push = new YanlongMa\Push\JPush($appKey, $masterSecret);
$push->push($alert, $extras, $platform, $audience);
```