All Projects → pubsubhubbub → php-subscriber

pubsubhubbub / php-subscriber

Licence: Apache-2.0 License
A PubSubHubbub subscriber module for PHP

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to php-subscriber

celery-connectors
Want to handle 100,000 messages in 90 seconds? Celery and Kombu are that awesome - Multiple publisher-subscriber demos for processing json or pickled messages from Redis, RabbitMQ or AWS SQS. Includes Kombu message processors using native Producer and Consumer classes as well as ConsumerProducerMixin workers for relay publish-hook or caching
Stars: ✭ 37 (+19.35%)
Mutual labels:  subscriber
Switchboard
a WebSub / PubSubHubbub 0.4 hub
Stars: ✭ 31 (+0%)
Mutual labels:  pubsubhubbub
php-publisher
A PubSubHubbub publisher module for PHP.
Stars: ✭ 49 (+58.06%)
Mutual labels:  pubsubhubbub
laminas-feed
Consume and generate Atom and RSS feeds, and interact with Pubsubhubbub.
Stars: ✭ 97 (+212.9%)
Mutual labels:  pubsubhubbub
bloc
A predictable state management library that helps implement the BLoC design pattern
Stars: ✭ 12 (-61.29%)
Mutual labels:  subscriber
iris
Lightweight Component Model and Messaging Framework based on ØMQ
Stars: ✭ 50 (+61.29%)
Mutual labels:  subscriber
go-ostatus
An OStatus library written in Go
Stars: ✭ 32 (+3.23%)
Mutual labels:  pubsubhubbub

This PHP library implements a subscriber for PubSubHubbub.

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

Install

Update your composer require block:

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

Usage

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
$s->subscribe($feed);

// unsubscribe from a feed
$s->unsubscribe($feed);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].