Jeapie is a ready-to-use infrastructure for sending native mobile PUSH notifications.
It includes:
-
A mobile app for receiving and storing notifications (Android ready, iOS publishing soon);
-
A HTTP-to-PUSH web-service.
So in raw example it looks like:
curl_setopt_array($ch = curl_init(), array(
CURLOPT_URL => "https://api.jeapie.com/v1/send/message.json",
CURLOPT_POSTFIELDS => array(
"token" => "APP_TOKEN",
"user" => "USER_KEY",
"message" => "Hello World",
)));
curl_exec($ch);
curl_close($ch);
Yii extension is a wrapper over a singleton PHP5 class.
Extension page