leslie / mipush
"小米推送composer"
v1.1
2019-02-15 03:06 UTC
Requires
- php: >5.5
This package is auto-updated.
Last update: 2024-11-15 16:26:32 UTC
README
使用方式:
require 'vendor/autoload.php';
use Leslie\Mipush\MiPush;
$payload = '{"status":1}';
$mipush = new MiPush();
$res = $mipush::sendMessage($secret, $package, $regId, $title, $desc, $payload, $num, $gid);
print_r($res) ;