2017 © Pedro Peláez
 

symfony-bundle neo4j-client-bundle

This bundle provides a simple integration of Josh Adell's Neo4jPHP library into Symfony2

image

klaussilveira/neo4j-client-bundle

This bundle provides a simple integration of Josh Adell's Neo4jPHP library into Symfony2

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Neo4j Client Bundle

This bundle provides a simple integration of Josh Adell's Neo4jPHP library into Symfony2. It allows manipulation of data inside the Neo4j graph database through the REST connectors., (*1)

Installation

To install this bundle, add this to your project's composer.json:, (*2)

``` json "require": { // ... "klaussilveira/neo4j-client-bundle": "dev-master", }, (*3)


Next, update your vendors by running: ``` bash $ composer update

Now enable the bundle in the kernel:, (*4)

``` php <?php // app/AppKernel.php, (*5)

public function registerBundles() { $bundles = array( // ... new Neo4j\Client\ClientBundle\Neo4jClientBundle(), ); }, (*6)


And configure the bundle by adding the `neo4j_client` namespace into `config.yml`: ``` yaml neo4j_client: host: 'localhost' port: 7474

Congratulations! You're ready to use Neo4j Client into Symfony2., (*7)

Basic Usage

The only thing to do is to request the neo4j.client service from the container to get an instance of Everyman\Neo4j\Client., (*8)

``` php <?php, (*9)

$client = $this->get('neo4j.client'); print_r($client->getServerInfo());, (*10)

```, (*11)

The Versions

20/11 2012

dev-master

9999999-dev https://github.com/klaussilveira/neo4j-client-bundle

This bundle provides a simple integration of Josh Adell's Neo4jPHP library into Symfony2

  Sources   Download

MIT

The Requires

 

database graph neo4j