PHPackages                             longitude-one/neo4j-php-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. longitude-one/neo4j-php-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

longitude-one/neo4j-php-client
==============================

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

1.0.1(5y ago)22911[1 issues](https://github.com/longitude-one/neo4j-php-client/issues)1MITPHPPHP ^7.2CI failing

Since Jul 1Pushed 5y ago3 watchersCompare

[ Source](https://github.com/longitude-one/neo4j-php-client)[ Packagist](https://packagist.org/packages/longitude-one/neo4j-php-client)[ RSS](/packages/longitude-one-neo4j-php-client/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (13)Versions (3)Used By (1)

Neo4j PHP Client
================

[](#neo4j-php-client)

This Neo4j PHP Client is a fork of the GraphAware Neo4j PHP Client. Since this package was not maintained since 2017 and was archived to a readonly repository, LongitudeOne decided to fork it and to create a really new package. A simple fork was a problem because issues and pull requests were still centralized on graphaware/neo4j-php-client.

[![Build Status](https://camo.githubusercontent.com/ab01bf42d9276dce2c230d36165a24a84269cbfb532b2a1925375b4985f494b3/68747470733a2f2f7472617669732d63692e6f72672f6c6f6e6769747564652d6f6e652f6e656f346a2d7068702d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/longitude-one/neo4j-php-client)[![Version](https://camo.githubusercontent.com/729a4d1113df05e36f97429fc9fd0d920c6111de8b687b6cde3cd74912b1977d/68747470733a2f2f706f7365722e707567782e6f72672f6c6f6e6769747564652d6f6e652f6e656f346a2d7068702d636c69656e742f76657273696f6e)](https://packagist.org/packages/longitude-one/neo4j-php-client)[![Total Downloads](https://camo.githubusercontent.com/527a3a38c36f02e1fbc88537fe76832ea1417a726873bf8d62c3361c5d6c9c65/68747470733a2f2f706f7365722e707567782e6f72672f6c6f6e6769747564652d6f6e652f6e656f346a2d7068702d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/longitude-one/neo4j-php-client)[![License](https://camo.githubusercontent.com/c061644870f59a87e1b024c1bbf8f91fb4eecd1c7efbcbe9bb5dcb943b85170e/68747470733a2f2f706f7365722e707567782e6f72672f6c6f6e6769747564652d6f6e652f6e656f346a2d7068702d636c69656e742f6c6963656e7365)](https://packagist.org/packages/longitude-one/neo4j-php-client)

Introduction
------------

[](#introduction)

Originally created by GraphAware, Neo4j-PHP-Client is the most advanced and flexible [Neo4j](http://neo4j.com) Client for PHP. LongitudeOne is now maintaining this project.

### What is Neo4j?

[](#what-is-neo4j)

Neo4j is a transactional, open-source graph database. A graph database manages data in a connected data structure, capable of representing any kind of data in a very accessible way. Information is stored in nodes and relationships connecting them, both of which can have arbitrary properties. To learn more visit [What is a Graph Database](http://neo4j.com/developer/graph-database/)?

### Key features

[](#key-features)

- Supports multiple connections
- Support for Bolt binary protocol
- Built-in and automatic support for *Neo4j Enterprise HA Master-Slave Mode* with auto slaves fallback

#### Neo4j Version Support

[](#neo4j-version-support)

**Version****Tested**3.0Yes3.5YesThis project **cannot** be used with the version 4.0+.

#### Neo4j Feature Support

[](#neo4j-feature-support)

**Feature****Supported?**AuthYesRemote CypherYesTransactionsYesHigh AvailabilityYesEmbedded JVM supportNoBinary ProtocolYes### Requirements

[](#requirements)

As PHP7.2 and less are no more maintained, neo4j-php-client is now only tested with PHP7.3+ .

- PHP &gt;= 7.3
- ext-bcmath
- ext-json
- ext-mbstring
- A Neo4j database (minimum version 3.0, maximum version 4.0 excluded)

### Getting Help

[](#getting-help)

To get help, you should:

- [Ask a question on StackOverflow](http://stackoverflow.com/questions/ask?tags=php,neo4j)
- For bugs, please feel free to create a [new issue on GitHub](https://github.com/longitude-one/neo4j-php-client/issues/new)

### Implementations

[](#implementations)

- [Symfony Framework Bundle](https://github.com/neo4j-contrib/neo4j-symfony)

Installation and basic usage
----------------------------

[](#installation-and-basic-usage)

### Installation

[](#installation)

Add the library to your composer dependencies :

```
composer require "longitude-one/neo4j-php-client:^1.0"
```

Require the composer autoloader, configure your connection by providing a connection alias and your connection settings :

```
