Skip to content

asfandahmed/Neo4jPHP-lib-for-CodeIgniter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Neo4jPHP library for CodeIgniter

Instructions

  1. Copy the repository files to application/libraries folder in your project directory.

Usage

  • call neo4j library like this: $this->load->library('neo');

Set up the client

  • open the neo library file and set the client in constructor

$this->client = new Client('server-url', server-port);
$this->client->getTransport()->setAuth('user', 'password');

Execute cypher

$cypher = "match(n) return n limit 25";
$this->neo->execute_query($cypher);

###Read Wiki for class reference

About

Neo4j PHP library for CodeIgniter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages