plumtreesystems / neo4j-bolt
Neo4j Bolt Binary Protocol PHP Driver
Installs: 70 784
Dependents: 3
Suggesters: 0
Security: 0
Stars: 11
Watchers: 3
Forks: 38
Open Issues: 6
Requires
- php: >=7.2
- ext-bcmath: *
- ext-json: *
- ext-mbstring: *
- graphaware/neo4j-common: ^3.4
- myclabs/php-enum: ^1.4
- symfony/event-dispatcher: ^3.0|^4.0|^5.0
Requires (Dev)
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: 3.*
- symfony/stopwatch: ^2.7
- dev-master
- 55.x-dev
- 4.0.3
- 4.0.2.x-dev
- 4.0.2
- 4.0.1.x-dev
- 4.0.1
- 4.0
- 1.11.0
- 1.10.0
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.1
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.8
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-ssl
- dev-pipelines
- dev-protocol-v2
- dev-collections
- dev-fix/marker-d6
- dev-issue2
- dev-m5
- dev-socket-perf
- dev-unpack-stream
- dev-tls
This package is auto-updated.
Last update: 2024-12-06 17:22:46 UTC
README
PHP low level Driver for Neo4j's binary Bolt Protocol
About
Fork of no longer maintained 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, but eventually it will drop support for it.
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
Point2D
Point3D
Duration
LocalDatetime
andDateTime
(zoned and offset)Time
andLocalTime
Duration
- PHP's
\DateTime
(converts to neo4j's zonedDateTime
) - PHP's
\DateInterval
(converts toDuration
)
Requirements:
- PHP 7.2+
- Neo4j 3.0+
- PHP Sockets extension available
bcmath
extensionmbstring
extension
Installation
Require the package in your dependencies :
composer require plumtreesystems/neo4j-bolt
Usage
TODO
- add proper result cursor
- add support for async (ReactPHP)
Bug reports and Pull requests are welcome!
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 project.