Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ZeroMQ for PHP

branch: master

This branch is 132 commits behind mkoppanen:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
examples
options
tests
ChangeLog
LICENSE
README
api.php
config.m4
config.w32
package.xml
php-zmq.spec
php_zmq.h
php_zmq_pollset.h
php_zmq_private.h
zmq.c
zmq_device.c
zmq_fd_stream.c
zmq_pollset.c
zmq_sockopt.c

README

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/
Something went wrong with that request. Please try again.