Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neo4j
  3. neo4j-php-client

neo4j-php-client

MITPHP

An enterprise-grade PHP client for Neo4j graph database with support for Bolt protocol, transactions, and high availability.

Visit WebsiteGitHubGitHub
285 stars93 forks0 contributors

What is neo4j-php-client?

GraphAware Neo4j PHP Client is a comprehensive PHP library for connecting to and querying Neo4j graph databases. It enables developers to execute Cypher queries, manage transactions, and work with graph data structures directly from PHP applications, solving the need for a reliable, enterprise-ready Neo4j driver in the PHP ecosystem.

Target Audience

PHP developers building applications that require interaction with Neo4j graph databases, particularly those needing support for high availability, transactions, and performance optimizations like the Bolt protocol.

Value Proposition

It stands out as the most advanced PHP client for Neo4j, offering enterprise features like HA cluster support, Bolt protocol efficiency, and a fluent API for complex graph operations, all while maintaining compatibility with Neo4j versions from 2.2.6 onward.

Overview

PHP Client for Neo4j with Enterprise Support

Use Cases

Best For

  • Building PHP applications that leverage Neo4j's graph database capabilities
  • Enterprise environments requiring high availability and master-slave Neo4j setups
  • Performance-critical applications benefiting from the Bolt binary protocol
  • Complex transactional workflows in PHP with Neo4j
  • Batch processing of Cypher queries with stacked statements
  • Projects needing fine-grained control over Neo4j connections and event handling

Not Ideal For

  • Projects requiring active maintenance and long-term support, as this library is archived and no longer updated.
  • Applications needing embedded Neo4j JVM support, since it only supports remote connections via HTTP or Bolt.
  • Teams seeking a simple, drop-in solution without enterprise overhead, due to its complex configuration for HA clusters and TLS.

Pros & Cons

Pros

Enterprise HA Support

Built-in automatic handling of Neo4j Enterprise High Availability clusters with slave fallback, ensuring reliability in production environments as highlighted in the README.

Bolt Protocol Efficiency

Utilizes the binary Bolt protocol for faster communication with Neo4j, improving performance for high-throughput applications compared to HTTP.

Advanced Transaction Control

Full ACID transaction support with explicit commit and rollback, allowing fine-grained management of database operations as demonstrated in the transaction examples.

Graph Object Hydration

Automatically converts Neo4j nodes, relationships, and paths into native PHP objects with helper methods, simplifying data manipulation in code.

Cons

Archived and Unmaintained

The repository is marked as archived, meaning no further updates, bug fixes, or security patches, posing a significant risk for ongoing projects.

No Embedded JVM Support

Lacks support for Neo4j's embedded JVM mode, limiting use cases where local, embedded graph databases are required, as noted in the feature support table.

Complex Setup and Configuration

Requires manual configuration for connections, TLS, and HTTP clients, which can be cumbersome and error-prone for developers not familiar with Neo4j or advanced PHP settings.

Frequently Asked Questions

Quick Stats

Stars285
Forks93
Contributors0
Open Issues0
Last commit4 years ago
CreatedSince 2015

Tags

#graph#high-availability#http#enterprise#cypher#database-client#bolt-protocol#php#transactions#graph-database#bolt#neo4j

Built With

P
PHP
G
Guzzle

Links & Resources

Website

Included in

Neo4j554
Auto-fetched 3 hours ago

Related Projects

NeoEloquentNeoEloquent

The Neo4j OGM for Laravel

Stars656
Forks193
Last commit1 year ago
neo4jphpneo4jphp

PHP wrapper of the Neo4j REST interface

Stars535
Forks135
Last commit8 years ago
Neo4j-PHP-OGMNeo4j-PHP-OGM

Neo4j Object Graph Mapper for PHP

Stars153
Forks54
Last commit4 years ago
SpiderSpider

Simple, flexible graph database abstraction for php

Stars21
Forks4
Last commit8 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub