A PHP client for accessing the Neo4J REST API
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 35 commits ahead, 7 commits behind electric-al:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Neo4j
examples
tests
tutorials/NeoRest
.gitignore
Neo4j.php
README.md
build.xml
phpunit.xml

README.md

Neo4J PHP REST API client

Very basic at the moment.

Features

  • Node creation
  • Node loading by id
  • Node delete
  • Create relationship between two nodes
  • List / filter relationships on a node
  • Traversal access
  • Indexing

Todo

  • Documentation!
  • Prevent multiple copies of the same node or relationship object (implement cache in load node and load relationship)
  • Lazy loading (URI constructors for node & relationship)
  • URI discovery rather than hard coded URIs

Getting started

  • Download the latest version of the Neo4j REST component
  • Run it
  • php demo.php

Requirements

A PHP that has:

  • curl

Note: Only tested with PHP 5.3.

Going further

Generate API documentation:

phing docs

To generate documentation, you need

Run unit tests:

phpunit