A PHP extension for interfacing with Apache ZooKeeper
Clone or download
Pull request Compare This branch is 132 commits ahead, 2 commits behind andreiz:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.travis Fix cd: can't cd to zookeeper-3.5.3-beta/src/c Jun 19, 2018
dev-tools Fix test script Jul 14, 2018
examples Add 3 new methods to ZookeeperConfig Jun 2, 2018
tests Try to fix test case failure Jul 26, 2018
.editorconfig Add .editorconfig, fix indentation Jun 1, 2017
.gitignore Update .gitignore Jul 2, 2018
.travis.yml Update .travis.yml Jun 3, 2018
CREDITS Add description files. Oct 15, 2009
ChangeLog Update ChangeLog N package.xml Jul 20, 2018
LICENSE Added session handler Jun 6, 2010
README.markdown Update README file Jul 3, 2018
config.m4 Fix path of zookeeper_version.h in config.m4 Jul 19, 2018
package.xml Update package.xml Jul 21, 2018
php5to7.h Add missing php.h Jun 2, 2018
php_zookeeper.c Fix memory leaks Jul 8, 2018
php_zookeeper.h Bump version Jul 20, 2018
php_zookeeper_callback.c Fix orders of parameters Jul 7, 2018
php_zookeeper_callback.h Add class ZookeeperConfig Jun 2, 2018
php_zookeeper_class.h Add class ZookeeperConfig Jun 2, 2018
php_zookeeper_config_class.c Fix memory leaks Jul 4, 2018
php_zookeeper_config_class.h Add class ZookeeperConfig Jun 2, 2018
php_zookeeper_exceptions.c Fix duplicate symbols warning Feb 28, 2017
php_zookeeper_exceptions.h Add class ZookeeperConfig Jun 2, 2018
php_zookeeper_log.c Fix 'expected ‘const char *’ but argument is of type ‘__va_list_tag *’' Jul 19, 2018
php_zookeeper_log.h Fix symbol conflicts Jul 4, 2018
php_zookeeper_private.h Added session handler Jun 6, 2010
php_zookeeper_session.c Fix warning: implicit declaration of function ‘xxx’ [-Wimplicit-funct… Jul 2, 2018
php_zookeeper_session.h Release 0.2.0. Jan 13, 2012
php_zookeeper_stat.c Add missing php.h Jun 2, 2018
php_zookeeper_stat.h Add class ZookeeperConfig Jun 2, 2018
zoo_lock.c Fix warning: implicit declaration of function ‘xxx’ [-Wimplicit-funct… Jul 2, 2018
zoo_lock.h Release 0.2.0. Jan 13, 2012
zookeeper-api.php update api stub Mar 2, 2017

README.markdown

PHP ZooKeeper Extension

Build Status Coveralls

This extension uses libzookeeper library to provide API for communicating with ZooKeeper service.

ZooKeeper is an Apache project that enables centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

Requirements

Install

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

Examples

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

Resources