Skip to content
PHP 5.1 class for push message to jeapie
Find file
Latest commit 099f232 Aug 21, 2013 @Jeapie Update
Failed to load latest commit information.
PushMessage.php change for new api Jul 17, 2013 Update Aug 21, 2013
example.php change example for new api Jul 17, 2013


PHP5 class for push message to Jeapie

For send message:

1) Set params
    ->setToken('tokenKey')           // required
    ->setTitle('titleOfMessage')     // optional
    ->setMessage('bodyOfMessage')    // required
    ->setPriority(0)                // optional. can be -1, 0, 1

2) Send
    ->setDevice('htcsensation')      // not require. Using only for personalSend()

    ->setEmails(array(               // required. Using only for usersSend()

    ->broadcastSend();                     // return true or false

Also you can get result as PushMessage::init()->getResult();

If result return false you can get errors: PushMessage::init()->getErrors();

If you have error "SSL certificate problem: unable to get local issuer certificate" on your local server please use the method disableSslVerification().

If you are not familiar with Jeapie - visit


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.