urukalo / localytics-push
Localytics Push message sender
v0.1.8
2017-02-23 14:32 UTC
Requires
- guzzlehttp/guzzle: 6.1.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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: