zeromq / Php Zmq
Licence: other
ZeroMQ for PHP
Stars: ✭ 498
Programming Languages
c
50402 projects - #5 most used programming language
PHP bindings for 0MQ. The documentation is available at http://php.net/zmq
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
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].