urukalo / localytics-push
Localytics Push message sender
Installs: 3 622
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- guzzlehttp/guzzle: 6.1.1
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: