Skip to content
/ php-zmq Public
forked from zeromq/php-zmq

ZeroMQ for PHP

License

Notifications You must be signed in to change notification settings

poison/php-zmq

 
 

Repository files navigation

Experimental PHP bindings for 0MQ. The documentation is available at http://php.zero.mq/

The API is roughly as follows:

<?php

/* Create new queue object */
$queue = new ZMQ(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://pear.zero.mq/

About

ZeroMQ for PHP

Windows http://valokuva.org/~mikko/php-zmq-20130203.tgz

Resources

License

Stars

Watchers

Forks

Packages

No packages published