Skip to content

buhta/php-zmq

This branch is 1 commit ahead of zeromq/php-zmq:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c1f6af4 · Feb 14, 2025
Oct 8, 2014
Apr 5, 2020
Jan 14, 2016
Jun 17, 2022
Feb 28, 2020
Mar 5, 2020
Nov 28, 2012
Apr 4, 2020
Sep 26, 2013
Feb 16, 2020
Apr 4, 2020
Feb 14, 2025
Jan 23, 2016
Feb 28, 2020
Jun 26, 2013
Dec 10, 2018
Jan 22, 2025
Jan 22, 2025
Nov 14, 2013
Jan 22, 2025
Jan 22, 2025
Aug 24, 2020
Mar 6, 2020
Jan 22, 2025
Nov 13, 2015
Jan 22, 2025
Jan 22, 2025
Apr 5, 2020
Apr 4, 2020

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

Packages

No packages published

Languages

  • C 82.6%
  • PHP 14.7%
  • Shell 1.8%
  • M4 0.9%