webimpacto / app4less
PHP App4Less API 推送通知
1.0.0
2018-05-10 11:34 UTC
Requires
- ralouphie/getallheaders: ^2.0
This package is not auto-updated.
Last update: 2024-09-25 16:02:47 UTC
README
此包使得发送 app4less 通知和 app4less 工具变得简单。
安装
您可以通过 composer 安装此包
composer require webimpacto/app4less
用法
发送通知
初始化 App4Less 客户端
$client = new \Webimpacto\App4Less\Client('app_user','app_apikey');
发送通知
$client->sendPushNotification( 'token', 'title' 'url', 'utm' );
检查 isApp4Less
$client = new \Webimpacto\App4Less\Client('app_user','app_apikey');
获取 Token App
$token = \Webimpacto\App4Less\Client::getAppUUID();
获取 UUID App
$uuid = \Webimpacto\App4Less\Client::getAppUUID();