【发布时间】:2017-09-20 10:45:58
【问题描述】:
我正在用 php 创建一个项目,并希望使用我的 Neo4j 图形数据对其进行配置。代码如下:
<?php
require_once '/path/to/Client.php';
use GraphAware\Neo4j\Client;
use GraphAware\Neo4j\Client\ClientBuilder;
$client = new GraphAware\Neo4j\Client('http://127.0.0.1:7474/');
$client = ClientBuilder::create()
->addConnection('default', 'http://neo4j:password@127.0.0.1:7474')
->addConnection('bolt', 'bolt://neo4j:password@127.0.0.1:7474')
->build();
所以你可以看到我试图在 GraphAware 中使用的库。因为我没有它,所以我无法让这个库工作。有人可以告诉我如何在我在 Eclipse 中创建的 php 项目中获取这个库。
【问题讨论】: