urukalo/localytics-push
Composer 安装命令:
composer require urukalo/localytics-push
包简介
Localytics Push message sender
README 文档
README
this package is in development, for now it has only limited functionality
please if You do any modifications make pull request (for now i use Parse SDK as reference for all criteria to allow fast migration from Parse to Localytics)
there is one example to send iOS badge:
$data = [ "device" => ["ios" => ["badge" => 1]] ]; $query = new LocalyticsPush( config('localytics.api_key'), config('localytics.api_sec'), config('localytics.app_key') ); $query->equalTo('push_enabled', 1); //lookup for more criterias $query->send(str_slug('catalog-badge-brand-' . $catalogName), $data, "and");
next to to:
- make code more abstract
- cover more criteria
do some tests U lazy ***!😠
contributors:
统计信息
- 总下载量: 3.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-24