GitHub - zeromq/php-zmq: ZeroMQ for PHP · GitHub
Skip to content
zeromqPublic

About

ZeroMQ for PHP

Resources

Stars

567 stars

Watchers

49 watching

Forks

Latest commit

 

History

548 Commits

Folders and files

Repository files navigation

PHP bindings for 0MQ. The documentation is available at http://php.net/zmq

Build Status

The API is roughly as follows:

<?php

/* Create new queue object */
$queue = new ZMQSocket(new ZMQContext(), ZMQ::SOCKET_REQ, "MySock1");

/* Connect to an endpoint */
$queue->connect("tcp://127.0.0.1:5555");

/* send and receive */
var_dump($queue->send("hello there, using socket 1")->recv());

?>

For installation instructions see http://pecl.php.net/zmq

For developer instructions see DEVELOPERS.md

About

ZeroMQ for PHP

Resources

Stars

567 stars

Watchers

49 watching

Forks

Releases

Packages

Used by

Contributors

Languages