PHP class for using the Emailvision CampaignCommander Notification Messaging API Service

So I wrote another PHP class you guys can use, this time for the Emailvision CampaignCommander Notification Messaging API Service, since I noticed there was none around. Usage is very simple, here’s an example.

Download from Github.

php-pushover, a PHP class for sending push notifications to iOS & Android

So I’ve been using Notifo for a while now and I must say, lovely service. Unfortunately, they will be closing down..

In my quest for a new push notification provider, I stumbled upon Pushover.
Pushover is by far the only service that can deliver (free) push notifications to both iOS and Android platforms, with a simple API, and a lot of cool options. Even authentication is very easy (not like Prowl). Have a look at their api docs.

Here’s the php class I wrote for Pushover:
https://github.com/kryap/php-pushover/blob/master/Pushover.php

And here’s how you use it:

<?php 
include('Pushover.php');
 
$push = new Pushover();
$push->setToken('app token goes here');
$push->setUser('user token goes here');
 
$push->setTitle('Hey Chris');
$push->setMessage('Hello world! ' .time());
$push->setUrl('http://chris.schalenborgh.be/blog/');
$push->setUrlTitle('cool php blog');
 
$push->setDevice('iPhone');
$push->setPriority(0);
$push->setTimestamp(time());
$push->setDebug(false);
 
$go = $push->send();
?>

Good luck! And let me know which cool projects you used this for! 🙂