Download the PHP package longitude-one/neo4j-bolt without Composer
On this page you can find all versions of the php package longitude-one/neo4j-bolt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download longitude-one/neo4j-bolt
More information about longitude-one/neo4j-bolt
Files in longitude-one/neo4j-bolt
Package neo4j-bolt
Short Description Neo4j Bolt Binary Protocol PHP Driver
License MIT
Informations about the package neo4j-bolt
Neo4j Bolt PHP
PHP low level Driver for Neo4j's Bolt Remoting Protocol Neo4j Bolt PHP is a repository initially created by GraphAware. As it is a MIT library not upgraded since 2017, LongitudeOne decided to fork it and upgrade it.
References :
- PHP Client embedding Bolt along with the http driver (recommended way of using Neo4j in PHP) : https://github.com/longitude-one/neo4j-php-client
- Neo4j 3.5 : http://neo4j.com/docs
Requirements:
- PHP7.3+
- Neo4j3.0 (3.5 recommended)
- PHP Sockets extension available
bcmath
extensionjson
extensionmbstring
extension
This driver isn't compatible with Neo4j 4.0 nor 4.1.
Installation
Require the package in your dependencies :
Setting up a driver and creating a session
Sending a Cypher statement
Empty Arrays
Due to lack of Collections types in php, there is no way to distinguish when an empty array should be treated as equivalent Java List or Map types.
Therefore you can use a wrapper around arrays for type safety :
TLS Encryption
In order to enable TLS support, you need to set the configuration option to REQUIRED
, here an example :
License
Copyright (c) 2020 LongitudeOne Copyright (c) 2015-2016 GraphAware Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of neo4j-bolt with dependencies
ext-bcmath Version *
ext-json Version *
ext-mbstring Version *
symfony/event-dispatcher Version ^4.4|^5.0
graphaware/neo4j-common Version ^3.4
myclabs/php-enum Version ^1.4