PHPackages                             graphaware/neo4j-response-formatter - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. graphaware/neo4j-response-formatter

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

graphaware/neo4j-response-formatter
===================================

Response Formatter for NeoClient

1.2.0(10y ago)176.5k↑100%[1 issues](https://github.com/graphaware/neo4j-php-response-formatter/issues)3MITPHP

Since Jul 31Pushed 10y ago21 watchersCompare

[ Source](https://github.com/graphaware/neo4j-php-response-formatter)[ Packagist](https://packagist.org/packages/graphaware/neo4j-response-formatter)[ RSS](/packages/graphaware-neo4j-response-formatter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (12)Used By (3)

Neo4j Response Formatter Service for NeoClient
----------------------------------------------

[](#neo4j-response-formatter-service-for-neoclient)

Advanced formatting based on the Neo4j Rest API Http Response format.

### Features

[](#features)

- Response object bootstrapped by a `PSR-7` Http Message
- In-memory graph representation with nodes and relationships objects
- Table format
- Smart getter

### Usage

[](#usage)

The current usage in NeoClient is optional for avoiding backwards incompatible changes, this will become the default formatting service in NeoClient v4.

Enabling the GraphAware's formatting service:

```
$client = ClientBuilder::create()
	->addDefaultLocalConnection()
	->setAutoFormatResponse(true)
	->enableNewFormattingService()
	->build();
```

From now, all the responses you will receive will be instances of `GraphAware\NeoClient\Formatter\Response`.

#### Getting results

[](#getting-results)

```
$response = $client->sendCypherQuery('MATCH (n) OPTIONAL MATCH (n)-[r]-() RETURN n,r');
// here we only expect one result
$result = $response->getResult();

// The result object holds nodes, relationships and table format

$nodes = $result->getNodes();
$relationships = $result->getRelationships();

// If you expect multiple results, like for preparedTransactions

$results = $response->getResults();

// Using the table

$table = $result->getTable();
$rows = $table->getRows();
print_r($rows);
```

More doc to come...

---

License MIT

---

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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

11

Last Release

3933d 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 (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/graphaware-neo4j-response-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/graphaware-neo4j-response-formatter/health.svg)](https://phpackages.com/packages/graphaware-neo4j-response-formatter)
```

###  Alternatives

[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343121.4M79](/packages/google-cloud-core)[aimeos/aimeos-base

Aimeos base layer for abstracting from host environments

2.1k134.0k1](/packages/aimeos-aimeos-base)[phpgt/dom

Modern DOM API.

12412.2M18](/packages/phpgt-dom)[anthropic-ai/sdk

Anthropic PHP SDK

129134.7k5](/packages/anthropic-ai-sdk)[jaxon-php/jaxon-core

Jaxon is an open source PHP library for easily creating Ajax web applications

73142.3k25](/packages/jaxon-php-jaxon-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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