This software is an unofficial Perl community driver for the Neo4j graph database server. It is designed to follow the Neo4j Driver API, allowing clients to interact with a Neo4j server using the same classes and method calls as the official Neo4j drivers do. This extends the uniformity across languages, which is a stated goal of the Neo4j Driver API, to Perl.
For networking, HTTP (Jolt / JSON) and Bolt are supported by this driver. Use of the Bolt protocol requires the XS module Neo4j::Bolt to be installed as well.
This driver targets the Neo4j community edition, version 2.0 and newer (including Neo4j 5). Other Neo4j editions are only supported as far as practical, but issue reports and patches about them are welcome.
Further information:
- Neo4j::Driver on CPAN – documentation and release tarballs
- Neo4j::Driver::Net – notes on network controllers
- TODO.pod – known issues and planned improvements
Released versions of Neo4j::Driver may be installed via CPAN:
cpanm Neo4j::Driver
To install a development version from this repository, run the following steps:
git clone https://github.com/johannessen/neo4j-driver-perl && cd neo4j-driver-perl
cpanm Dist::Zilla::PluginBundle::Author::AJNN
cpanm Dist::Zilla::Plugin::Meta::Contributors
dzil install
dzil release # upload a new version to CPAN
This is a “Pure Perl” distribution, which means you don’t need
Dist::Zilla to contribute patches. You can simply clone
the repository and run the test suite using prove
instead.
Docs for Neo4j: Session API · Driver API spec · HTTP API docs · Bolt protocol
Official drivers reference: Go · Java · JavaScript · .NET · Python