cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to connect neo4j desktop with php client?

Before I succed connect neo4j community with php client. Now I try to neo4j desktop, when I created a database (database name:bigal) in neo4j desktop, how to connect it with neo4j php client?

require_once 'vendor/autoload.php';
use GraphAware\Neo4j\Client\ClientBuilder;

$client = ClientBuilder::create()

      ->addConnection('default', 'http://neo4j:password@localhost:7474') 
  ->addConnection('bolt', 'bolt://neo4j:password@localhost:7687') 
  ->build();
2 REPLIES 2

Hi James, what's the error you are getting? Could you elaborate your question further, please?

I am having trouble with understanding the author's documentation on github for this driver. I almost have no idea what to include in the addHttpConnection and addBoltConnection uris. Do we actually put our password in where it says password. How do we specify a user? how do we specify a database? how do we specify a password? The docs for creating client connection in python, R, and javascript are are little more clear