Skip to content

andruu/Juggernaut-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Juggernaut for PHP

Simple PHP class to publish messages to Juggernaut server.

Usages

Make sure that you have the PHP Redis extension installed and working correctly. You can send a simple message to a single channel or send an array to multiple channels as in the second example.

require 'Juggernaut.php';
Juggernaut::init('127.0.0.1');

// Simple message to one channel
Juggernaut::publish('channel1', 'this is my message');

// Send an object to multiple channels
Juggernaut::publish(array('channel1', 'channel2'), array('this' => array('is' => 'data')));

About

Simple class to publish to Juggernaut - https://github.com/maccman/juggernaut/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages