Download the PHP package neoxygen/graphenedb-client without Composer
On this page you can find all versions of the php package neoxygen/graphenedb-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package graphenedb-client
GrapheneDB Client for PHP 5.4+
A PHP Client for the popular GrapheneDB | Neo4j as a Service.
Requirements
- A GrapheneDB account, you can create one here : https://app.graphenedb.com/signup
Usage
Require the library with composer :
Create the client by providing your GrapheneDB account e-mail and password :
Create a Neo4j database instance
You need to pass a name for your database, and optionally a neo4j version :
By default, the latest neo4j version will be used (currently 2.1.5)
This will return you a Neoxygen\GrapheneDBClient\Database
instance, for the available methods of this class read the section The Database class
.
Listing available versions :
Getting all your databases
This will return you a collection of Neoxygen\GrapheneDBClient\Database
instances.
Getting a specific database
You need to provide the name of your database :
This will return you an instance of Neoxygen\GrapheneDBClient\Database
.
Deleting a database
You need to provide the id
of the database you want to delete :
This will return you true, or throw an exception if the database does not exist.
Deleting all databases
This will return you true, or throw an exception if an error occured on the GrapheneDB server.
The Database class
The Neoxygen\GrapheneDBClient\Database
offers you methods to have informations about your GrapheneDB Neo4j instances :
For the list of all available methods, check the Neoxygen\GrapheneDBClient\Database
source code.
Author
Christophe Willemsen Twitter | Github
License
This library is licensed under the MIT License, check out the LICENSE
file packaged with the source code.
Bugs & Contributions
Simple report & PR on the Github Repository.