PHPackages                             sngularai/neo4j-bolt-php - 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. sngularai/neo4j-bolt-php

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

sngularai/neo4j-bolt-php
========================

Neo4j Bolt Binary Protocol PHP Driver

4.0.5(3y ago)0755MITPHPPHP &gt;=7.2

Since Jan 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sngularAI/neo4j-bolt-php)[ Packagist](https://packagist.org/packages/sngularai/neo4j-bolt-php)[ RSS](/packages/sngularai-neo4j-bolt-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

Neo4j Bolt PHP
--------------

[](#neo4j-bolt-php)

PHP low level Driver for Neo4j's binary Bolt Protocol

[![build](https://github.com/PlumTreeSystems/neo4j-bolt-php/workflows/phpunit/badge.svg)](https://github.com/PlumTreeSystems/neo4j-bolt-php/workflows/phpunit/badge.svg) [![codecov](https://camo.githubusercontent.com/37e44478a8b226edc2f692008914d5ab259cb95725718a6bd96a5273e0a59109/68747470733a2f2f636f6465636f762e696f2f67682f506c756d5472656553797374656d732f6e656f346a2d626f6c742d7068702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/PlumTreeSystems/neo4j-bolt-php)

---

### About

[](#about)

Fork of no longer maintained [graphaware/neo4j-bolt-php](https://github.com/graphaware/neo4j-bolt-php) project. This fork aims to maintain and update PHP Bolt driver to the newest version (V4). This driver is curently compatible with `graphaware/common` and can be used as drop in replacement to be used in [graphaware/neo4j-php-client](https://github.com/graphaware/neo4j-php-client), but eventually it will drop support for it.

### Supported versions

[](#supported-versions)

- Bolt V1 for Neo4j 3.0 to Neo4j 3.5
- Bolt V2 for Neo4j 3.4 to Neo4j 3.5
- Bolt V3 for Neo4j 3.5+
- Bolt V4 for Neo4j 4.0+

#### Structures

[](#structures)

- `Point2D`
- `Point3D`
- `Duration`
- `LocalDatetime` and `DateTime` (zoned and offset)
- `Time` and `LocalTime`
- `Duration`
- PHP's `\DateTime` (converts to neo4j's zoned `DateTime`)
- PHP's `\DateInterval` (converts to `Duration`)

### Requirements:

[](#requirements)

- PHP 7.2+
- Neo4j 3.0+
- PHP Sockets extension available
- `bcmath` extension
- `mbstring` extension

### Installation

[](#installation)

Require the package in your dependencies :

```
composer require plumtreesystems/neo4j-bolt
```

### Usage

[](#usage)

[Making queries](docs/Queries.md)

[Types](docs/Queries.md)

### TODO

[](#todo)

- add proper result cursor
- add support for async (ReactPHP)

#### Bug reports and Pull requests are welcome!

[](#bug-reports-and-pull-requests-are-welcome)

### Credits

[](#credits)

Since Bolt V2, V3 and V4 protocols are undocumented, other official and unofficial drivers were used as a reference. Big thanks goes to [bolt-rs](https://github.com/lucis-fluxum/bolt-rs) project.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

1216d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/599ae0f561fd9e6b8859df8db36b22534060f1925822ef9ec83f0dffd18452a9?d=identicon)[sngularAI](/maintainers/sngularAI)

---

Top Contributors

[![jesusdonososngular](https://avatars.githubusercontent.com/u/99897508?v=4)](https://github.com/jesusdonososngular "jesusdonososngular (1 commits)")[![sngularAI](https://avatars.githubusercontent.com/u/61585205?v=4)](https://github.com/sngularAI "sngularAI (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sngularai-neo4j-bolt-php/health.svg)

```
[![Health](https://phpackages.com/badges/sngularai-neo4j-bolt-php/health.svg)](https://phpackages.com/packages/sngularai-neo4j-bolt-php)
```

###  Alternatives

[a2lix/translation-form-bundle

Translate your doctrine objects easily with some helpers

3376.9M38](/packages/a2lix-translation-form-bundle)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[damienharper/auditor

The missing audit log library.

1922.8M8](/packages/damienharper-auditor)[guikingone/scheduler-bundle

A Symfony bundle that allows to schedule and create repetitive tasks

114217.4k](/packages/guikingone-scheduler-bundle)[plumtreesystems/neo4j-bolt

Neo4j Bolt Binary Protocol PHP Driver

1175.3k3](/packages/plumtreesystems-neo4j-bolt)[bartlett/php-compatinfo-db

Reference Database of all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions

1183.0k1](/packages/bartlett-php-compatinfo-db)

PHPackages © 2026

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