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

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

plumtreesystems/neo4j-bolt
==========================

Neo4j Bolt Binary Protocol PHP Driver

4.0.3(1y ago)1175.3k↓21.4%5[2 PRs](https://github.com/PlumTreeSystems/neo4j-bolt-php/pulls)3MITPHPPHP &gt;=7.2

Since Dec 29Pushed 1y ago2 watchersCompare

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

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

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

45

—

FairBetter than 92% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 72.3% 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 ~66 days

Recently: every ~379 days

Total

49

Last Release

610d ago

Major Versions

1.5.6 → 55.x-dev2016-05-24

1.11.0 → 4.02020-06-18

PHP version history (3 changes)1.4.1PHP &gt;= 5.6

55.x-devPHP &gt;= 5.5

4.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/72e2971f130f653e67b5c4efa0177c94e5da3615573a4e9939515947426ea8f0?d=identicon)[matval](/maintainers/matval)

---

Top Contributors

[![ikwattro](https://avatars.githubusercontent.com/u/1222009?v=4)](https://github.com/ikwattro "ikwattro (183 commits)")[![matas-valuzis](https://avatars.githubusercontent.com/u/13420562?v=4)](https://github.com/matas-valuzis "matas-valuzis (38 commits)")[![xavismeh](https://avatars.githubusercontent.com/u/181753?v=4)](https://github.com/xavismeh "xavismeh (13 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (9 commits)")[![jerairrest](https://avatars.githubusercontent.com/u/1588969?v=4)](https://github.com/jerairrest "jerairrest (7 commits)")[![ozziexsh](https://avatars.githubusercontent.com/u/2093630?v=4)](https://github.com/ozziexsh "ozziexsh (2 commits)")[![MartynasKasp](https://avatars.githubusercontent.com/u/33058459?v=4)](https://github.com/MartynasKasp "MartynasKasp (1 commits)")

---

Tags

bolt-phpboltv1boltv2boltv3boltv4neo4j-bolt-phpneo4j-driver

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  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)[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)
