Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

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

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neo4j
  3. neo4jphp

neo4jphp

NOASSERTIONPHP

A PHP wrapper for the Neo4j graph database REST interface, enabling PHP applications to interact with Neo4j.

GitHubGitHub
535 stars135 forks0 contributors

What is neo4jphp?

Neo4jPHP is a PHP wrapper for the Neo4j graph database REST interface, enabling PHP applications to interact with Neo4j's graph data. It provides an object-oriented API to manage nodes, relationships, indexes, and execute Cypher queries, simplifying database operations.

Target Audience

PHP developers building applications that require graph database functionality, such as social networks, recommendation engines, or data analysis tools using Neo4j.

Value Proposition

Developers choose Neo4jPHP for its seamless integration with Neo4j via REST, support for batch operations and Cypher queries, and ease of use within PHP ecosystems, reducing the complexity of direct HTTP communication.

Overview

PHP wrapper of the Neo4j REST interface

Use Cases

Best For

  • PHP applications needing to interact with a Neo4j graph database
  • Executing Cypher queries from PHP codebases
  • Managing batch operations for efficient data updates in Neo4j
  • Building social network features with graph relationships
  • Creating recommendation systems using graph data structures
  • Developing data analysis tools that leverage graph databases

Not Ideal For

  • Projects using Neo4j 3.x or above, as the library is designed for older REST APIs (up to Neo4j 1.5 per changes log).
  • Applications requiring high-performance binary Bolt protocol support, since Neo4jPHP only wraps the REST interface.
  • Teams needing actively maintained libraries with regular updates, given the last major release was in 2012.

Pros & Cons

Pros

Object-Oriented API

Provides a straightforward, object-oriented interface for managing nodes and relationships, simplifying database operations as per the project's philosophy.

Cypher Query Support

Enables execution of Cypher queries with named parameters, making graph data retrieval and manipulation easier, as highlighted in the key features.

Batch Operations

Supports batch requests for efficient multiple data manipulations in a single call, improving performance for bulk updates.

Caching Integration

Includes a Memcache caching plugin to enhance performance, added in version 0.0.7-beta as per the changes log.

Cons

Outdated and Unmaintained

The library was last updated in 2012 and lacks support for modern Neo4j versions or features, making it risky for current projects.

Limited to REST API

Only wraps the REST interface, missing Neo4j's binary Bolt protocol, which offers better performance and is standard in newer drivers.

Dependency on cUrl

Requires cUrl to be installed and detected, as noted in changes log, which might not be available in all environments and adds setup complexity.

Frequently Asked Questions

Quick Stats

Stars535
Forks135
Contributors0
Open Issues28
Last commit8 years ago
CreatedSince 2011

Tags

#caching#rest-api#cypher#indexing#batch-operations#php#database-wrapper#graph-database#neo4j

Built With

c
curl
P
PHP

Included in

Neo4j554
Auto-fetched 7 hours ago

Related Projects

NeoEloquentNeoEloquent

The Neo4j OGM for Laravel

Stars656
Forks193
Last commit1 year ago
neo4j-php-clientneo4j-php-client

PHP Client for Neo4j with Enterprise Support

Stars285
Forks93
Last commit4 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