Skip to content

bazo/PHPusher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPusher

NodePush PHP client. Push client for NodePush https://github.com/bazo/NodePush

Usage:

$pushClient = new Bazo\PHPusher\PushClient('http://localhost:8080');
$data = [
	'id' => 1,
	'timestamp' => time(),
	'message' => 'lorem ipsum'
];

$pushClient->open();
$pushClient->push($room, $event, $data);
$pushClient->close();

About

NodePush PHP client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages