neoxygen / neo4j-neoclient

Simple PHP HttpClient for the Neo4j ReST API with Multi DB Support
MIT License
121 stars 138 forks source link

Class 'Symfony\Component\DependencyInjection\ContainerBuilder' not found.. #77

Closed JugalSA closed 8 years ago

JugalSA commented 8 years ago

hey there, I have installed neo4j and I have added this library in my project as well.. I am using these lines of code to connect to neo4j..

require 'C:/xampp/htdocs/purplle/application/libraries/neo4j-neoclient-master/src/ClientBuilder.php';

$client = new Neoxygen\NeoClient\ClientBuilder(array('hosts'=>"http://localhost:7474")); $client->create(); $client->addConnection('default', 'http', 'localhost', 7474); $client->build();

ClientBuilder is found but it is throwing me an error for Symfony... I am not getting this.. Please help in this..

ikwattro commented 8 years ago

Hi @JugalSA ,

As written in the first lines of the README, this library is deprecated, please use the new version located at https://github.com/graphaware/neo4j-php-client