Skip to content

Timandes/libzookeeper

Repository files navigation

PHP Libzookeeper Extension

Build Status Coverage Status

Communicate with Zookeeper using PHP.

Requirements

Install

$ phpize
$ ./configure --with-libzookeeper=/path/to/zookeeper-c-client
$ make
$ make install

Examples

<?php
$zc = new ZookeeperClient();
$zc->connect('localhost:2181');
var_dump($zc->get('/zookeeper'));
?>

More

Reference

View On RTFD