PHPackages                             ytake/voltdb-client-wrapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. ytake/voltdb-client-wrapper

ActiveLibrary[Database &amp; ORM](/categories/database)

ytake/voltdb-client-wrapper
===========================

voltdb client wrapper

0.2.4(11y ago)2951MITPHPPHP &gt;=5.4.0

Since Sep 3Pushed 10y ago3 watchersCompare

[ Source](https://github.com/ytake/VoltDB.PHPClientWrapper)[ Packagist](https://packagist.org/packages/ytake/voltdb-client-wrapper)[ RSS](/packages/ytake-voltdb-client-wrapper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (6)Used By (1)

PHP VoltDB Client Wrapper
=========================

[](#php-voltdb-client-wrapper)

[![License](https://camo.githubusercontent.com/b7e95b4c7a6501fded41b1214b8d52fe29214035b928e3e5fbd82134b10ecb76/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7974616b652f766f6c7464622d636c69656e742d777261707065722e7376673f7374796c653d666c6174)](https://packagist.org/packages/ytake/voltdb-client-wrapper)[![Latest Version](https://camo.githubusercontent.com/8bcded22e48520fd2fc62a3bee64548cf2a6e3be001c49e54d4c0cfbf7dbf443/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7974616b652f766f6c7464622d636c69656e742d777261707065722e7376673f7374796c653d666c6174)](https://packagist.org/packages/ytake/voltdb-client-wrapper)[![Total Downloads](https://camo.githubusercontent.com/9da209ec1ac8fc4a03658bcaa526de433c39ea2678634113ffe904965c5305fc/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7974616b652f766f6c7464622d636c69656e742d777261707065722e7376673f7374796c653d666c6174)](https://packagist.org/packages/ytake/voltdb-client-wrapper)[![Dependency Status](https://camo.githubusercontent.com/434e06f2ea7ceddec4ce17fe6a51f534b0a7c7760bfa4019aa8dd767b5ebeef3/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534316439346135336131613263643536373030303137312f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/541d94a53a1a2cd567000171)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9c43e55c12e2cfe15970c8b0156dc6c6bb2dfd8c9b69f0d9405497caf9894683/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7974616b652f566f6c7444422e504850436c69656e74577261707065722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/ytake/VoltDB.PHPClientWrapper/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/c4be8f01aaab1fac9a76e7f1f8edb68baa304e11c804302ef59c19484e12ec8e/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7974616b652f566f6c7444422e504850436c69656e74577261707065722f6d61737465722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/ytake/VoltDB.PHPClientWrapper/?branch=master)[![Build Status](https://camo.githubusercontent.com/30fde361aa09bb09fab5a747eef4754ccac93456bdc5e59b43263e931495bdfd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7974616b652f566f6c7444422e504850436c69656e74577261707065722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ytake/VoltDB.PHPClientWrapper/build-status/master)

voltdb client wrapper / json interface support.

**required extension**
curl
**suggest**
[voltdb-client-php(native branch)](https://github.com/VoltDB/voltdb-client-php/tree/native)

\#Install

```
    "require": {
        "php": ">=5.4.0",
        "ext-curl": "*",
        "ext-voltdb": "*",
        "ytake/voltdb-client-wrapper": "0.*"
    },
```

\#Usage ##VoltDB json API(simple)

```
$client = new \Ytake\VoltDB\HttpClient(new \Ytake\VoltDB\Parse);
// get request
$result = $client->request('http://localhost')->get(['Procedure' => 'allUser'])->getResult();
// post request
$result = $client->request('http://localhost')->post([
    'Procedure' => 'addUser',
    'Parameters' => [1, "voltdb"]
])->getResult();
```

\###use parameters [JSON HTTP Interface](http://voltdb.com/docs/UsingVoltDB/ProgLangJson.php)
same arguments

```
// procedure-name
'Procedure' => null,
// procedure-parameters
'Parameters' => null,
// username for authentication
'User' => null,
// password for authentication
'Password' => null,
// Hashed password for authentication
'Hashedpassword' => null,
// true|false
'admin' => false,
// function-name
'jsonp' => null
```

\###get SystemInformation

```
// default "OVERVIEW"
$client->request('http://localhost')->info()->getResult();
// DEVELOPMENT
$client->request('http://localhost')->info("DEPLOYMENT")->getResult();
```

\##VoltClient wrapper ###AdHoc Queries

```
$connection = new \Ytake\VoltDB\Client(new \VoltClient, new \Ytake\VoltDB\Parse);
$connection->connect()->excute("SELECT * FROM users");
```

**not supported prepared statements**
JDBC driver(java) supports or stored procedure(DDL)

\###Stored Procedure

```
$connection = new \Ytake\VoltDB\Client(new \VoltClient, new \Ytake\VoltDB\Parse);
$connection->connect()->procedure("Procedure-Name");
```

\###Async Stored Procedure

```
$connection = new \Ytake\VoltDB\Client(new \VoltClient, new \Ytake\VoltDB\Parse);
$async = $connection->connect()->asyncProcedure("allUser");
// blocking and get result
$async->drain();
$async->asyncResult();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~16 days

Total

3

Last Release

4244d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47817f3dd2890864096bd77ee772ec46061432f128988ca23939b0ca486d7bc3?d=identicon)[ytake](/maintainers/ytake)

---

Top Contributors

[![ytake](https://avatars.githubusercontent.com/u/4454078?v=4)](https://github.com/ytake "ytake (61 commits)")

---

Tags

jsonapidatabasevoltdbnewsql

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ytake-voltdb-client-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/ytake-voltdb-client-wrapper/health.svg)](https://phpackages.com/packages/ytake-voltdb-client-wrapper)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58723.9M36](/packages/scienta-doctrine-json-functions)[dunglas/doctrine-json-odm

An object document mapper for Doctrine ORM using JSON types of modern RDBMS.

6285.0M10](/packages/dunglas-doctrine-json-odm)[goodwix/doctrine-json-odm

JSON Object-Document Mapping bundle for Symfony and Doctrine

2226.0k](/packages/goodwix-doctrine-json-odm)[alvin0/database-json-laravel

Create and manage json databases with Laravel

344.3k](/packages/alvin0-database-json-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
