ulobby / NeoEloquent

An extension of Laravel Elqouent that supports Neo4j, a native graph database
MIT License
41 stars 17 forks source link

Replace the Neo4j driver #22

Closed berteltorp closed 2 years ago

berteltorp commented 3 years ago

The package currently uses the everyman/neo4jphp-driver and the development of that stalled around 2014.

Since then neo4j has evolved a lot (ex. introduced bolt a more efficient protocol and cluster support with bolt+routing).

The driver is implemented in NeoEloquent/blob/master/src/Connection.php

Replacement candidates:

Name Routing support
1 laudis/neo4j-php-client ⏳ Planned
2 stefanak-michal/bolt 🛑 No
3 plumtreesystems/neo4j-bolt 🛑 No
berteltorp commented 3 years ago

Looks like 2. supports clusters partially if you connect to the leader And 1. doesn't but has it on the roadmap

SimonThordal commented 3 years ago

There is additionally this one which might support it at some point: https://github.com/PlumTreeSystems/neo4j-bolt-php

berteltorp commented 3 years ago

Maybe it's premature for us to work on a new driver before we have a candidate with cluster-support? 🤔

berteltorp commented 3 years ago
  1. has no current plans for routing: https://github.com/PlumTreeSystems/neo4j-bolt-php/issues/6
GinoPane commented 3 years ago

It looks like laudis/neo4j-php-client has routing support now

idevin commented 2 years ago

It looks like laudis/neo4j-php-client has routing support now

YES!

berteltorp commented 2 years ago

We decided on 1. - it's implemented in v.9