A PubSubHubbub subscriber module for PHP
Switch branches/tags
Nothing to show
Clone or download
pfefferle Merge pull request #10 from danmichaelo/fix-emptyargs
Do not include unset parameters in query string
Latest commit 676f911 May 29, 2017


This PHP library implements a subscriber for PubSubHubbub.

It was written by Josh Fraser and is released under the Apache 2.0 License


Update your composer require block:

"require": { "pubsubhubbub/subscriber": "*" }


use \Pubsubhubbub\Subscriber\Subscriber;

$hub_url      = "http://pubsubhubbub.appspot.com";
$callback_url = "put your own endpoint here";

// create a new subscriber
$s = new Subscriber($hub_url, $callback_url);

$feed = "http://feeds.feedburner.com/onlineaspect";

// subscribe to a feed

// unsubscribe from a feed