文件名称:GCMApplicationServer:从JAVA到PHP的Google Cloud Messaging Application Server端口
文件大小:24KB
文件格式:ZIP
更新时间:2024-06-08 03:01:21
PHP
GCMApplicationServer 这是官方PHP移植端口。 用法 $ sender = new \ WebPower \gcm\server\ Sender ( 'your google cloud messaging api key' ); $ message = \ WebPower \gcm\server\ Message :: builder () -> addData ( 'message' , 'Hoi' ) -> build (); // Send to a single device using text/plain $ result = $ sender -> singleSendNoRetry ( $ message , 'registration id' ); // or to multiple devices using applicat
【文件预览】:
GCMApplicationServer-master
----src()
--------WebPower()
----phpunit.xml.dist(714B)
----testPush.php(494B)
----.travis.yml(184B)
----test()
--------WebPower()
----README.md(1KB)
----.gitignore(21B)
----composer.json(736B)