PHPackages                             neoxygen/graphenedb-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. neoxygen/graphenedb-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

neoxygen/graphenedb-client
==========================

Http Client for the GrapheneDB Neo4j as as Service

0.1.3(11y ago)325MITPHP

Since Oct 23Pushed 11y ago3 watchersCompare

[ Source](https://github.com/neoxygen/graphenedb-client)[ Packagist](https://packagist.org/packages/neoxygen/graphenedb-client)[ RSS](/packages/neoxygen-graphenedb-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

GrapheneDB Client for PHP 5.4+
==============================

[](#graphenedb-client-for-php-54)

A PHP Client for the popular [GrapheneDB](http://www.graphenedb.com) | Neo4j as a Service.

[![img](https://camo.githubusercontent.com/df25bc80abed61c37114f109120735bdebf15e2f1ece40cef1af86a2078a1183/687474703a2f2f7777772e6772617068656e6564622e636f6d2f696d616765732f6c6f676f2e706e67)](https://camo.githubusercontent.com/df25bc80abed61c37114f109120735bdebf15e2f1ece40cef1af86a2078a1183/687474703a2f2f7777772e6772617068656e6564622e636f6d2f696d616765732f6c6f676f2e706e67)

---

[![Latest Stable Version](https://camo.githubusercontent.com/1d895ed29a3bf5851b1bc165a9e758455d624a544c668e923eb6d5691ce550cc/68747470733a2f2f706f7365722e707567782e6f72672f6e656f787967656e2f6772617068656e6564622d636c69656e742f762f737461626c652e737667)](https://packagist.org/packages/neoxygen/graphenedb-client)[![License](https://camo.githubusercontent.com/0d815007982ec590dfb028c7eb98abf5217a25fc43af5a9cf4cdc97950ee2023/68747470733a2f2f706f7365722e707567782e6f72672f6e656f787967656e2f6772617068656e6564622d636c69656e742f6c6963656e73652e737667)](https://packagist.org/packages/neoxygen/graphenedb-client)[![Build Status](https://camo.githubusercontent.com/4d4d575f4302a3bda11997903c4931f433b125a69df774f468b51f99ce5e2cc8/68747470733a2f2f7472617669732d63692e6f72672f6e656f787967656e2f6772617068656e6564622d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/neoxygen/graphenedb-client)

### Requirements

[](#requirements)

- A GrapheneDB account, you can create one here :

### Usage

[](#usage)

Require the library with composer :

```
composer require neoxygen/graphenedb-client
```

Create the client by providing your GrapheneDB account e-mail and password :

```
require_once 'vendor/autoload.php';

use Neoxygen\GrapheneDBClient\GrapheneDBClient;

$client = new GrapheneDBClient('graphista@neo4jrocks.com', 'SuPeRp@sSwOrD');
```

#### Create a Neo4j database instance

[](#create-a-neo4j-database-instance)

You need to pass a name for your database, and optionally a neo4j version :

```
$myNewDB = $client->createDatabase('test');
```

By default, the latest neo4j version will be used (currently 2.1.5)

This will return you a `Neoxygen\GrapheneDBClient\Database` instance, for the available methods of this class read the section `The Database class`.

#### Listing available versions :

[](#listing-available-versions-)

```
$client->getVersions();
```

```
Array
(
    [default] => v215
    [versions] => Array
        (
            [0] => Array
                (
                    [version] => v198
                    [label] => Neo4j Community Edition 1.9.8
                )

            [1] => Array
                (
                    [version] => v204
                    [label] => Neo4j Community Edition 2.0.4
                )

            [2] => Array
                (
                    [version] => v215
                    [label] => Neo4j Community Edition 2.1.5
                )

        )

)

```

#### Getting all your databases

[](#getting-all-your-databases)

```
$databases = $client->getDatabases();
```

This will return you a collection of `Neoxygen\GrapheneDBClient\Database` instances.

#### Getting a specific database

[](#getting-a-specific-database)

You need to provide the name of your database :

```
$db = $client->getDatabase('test');
```

This will return you an instance of `Neoxygen\GrapheneDBClient\Database`.

#### Deleting a database

[](#deleting-a-database)

You need to provide the `id` of the database you want to delete :

```
$db = $client->getDatabase('test');
$client->deleteDatabase($db->getId());
```

This will return you true, or throw an exception if the database does not exist.

#### Deleting all databases

[](#deleting-all-databases)

```
$client->deleteAllDatabases();
```

This will return you true, or throw an exception if an error occured on the GrapheneDB server.

#### The Database class

[](#the-database-class)

The `Neoxygen\GrapheneDBClient\Database` offers you methods to have informations about your GrapheneDB Neo4j instances :

```
$db = $client->getDatabase('test');

echo $db->getId(); //42354265476534
echo $db->getName(); // test
echo $db->getNodesLimit(); // 1000
echo $db->getDbLocation(); // us-east-1-New York
```

For the list of all available methods, check the `Neoxygen\GrapheneDBClient\Database` source code.

---

### Author

[](#author)

Christophe Willemsen [Twitter](https://twitter.com/ikwattro) | [Github](https://github.com/ikwattro)

### License

[](#license)

This library is licensed under the MIT License, check out the `LICENSE` file packaged with the source code.

### Bugs &amp; Contributions

[](#bugs--contributions)

Simple report &amp; PR on the Github Repository.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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 ~0 days

Total

4

Last Release

4219d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c66009f0f147bb7dfcfbbd6837176b2fe6c6e2cdcf82d9ad07ab7d7aa47735f4?d=identicon)[ikwattro](/maintainers/ikwattro)

---

Top Contributors

[![ikwattro](https://avatars.githubusercontent.com/u/1222009?v=4)](https://github.com/ikwattro "ikwattro (21 commits)")

---

Tags

phpclientneo4jgraphgraphenedb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/neoxygen-graphenedb-client/health.svg)

```
[![Health](https://phpackages.com/badges/neoxygen-graphenedb-client/health.svg)](https://phpackages.com/packages/neoxygen-graphenedb-client)
```

###  Alternatives

[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[wormling/phparia

Asterisk REST Interface (ARI) client for PHP.

419.8k](/packages/wormling-phparia)

PHPackages © 2026

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