Notifo kicks ass.

Saw Notifo on Hackernews and fell in love. It solves all my irritating headaches when making web apps (mainly that I need access to notifications and can’t do it without a simple free app installed).

I made a quick PHP class for using with Notifo. Give it a whirl if you want to.

Notifo PHP Class (Version 1.01, thanks to Ethan and Michael!)

Be sure to include it; then try this:

$a = new Notifo();
try {
$a->subscribe_user(‘username’);
$a->send_notification(‘username’, ‘message’, ‘title’, ‘URL’);
}
catch(Exception $e){
echo “You had an error; {$e->getMessage()}”;
}
Be sure to catch exceptions, there are bound to be quite a few when you get up and running.