2017 © Pedro Peláez
 

library silex-neo4j

Neo4j service provider for Silex

image

kbrabrand/silex-neo4j

Neo4j service provider for Silex

  • Wednesday, December 7, 2016
  • by kbrabrand
  • Repository
  • 1 Watchers
  • 1 Stars
  • 97 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Neo4j service provider for Silex

Service provider making the Neo4j graph database accessible to your Silex application., (*1)

Build Status, (*2)

Installation

Add "kbrabrand/silex-neo4j": "XXX" to the composer.json file inside your project and do a composer install. Check [Composer][1] for the latest available version., (*3)

Setup instructions

Register the Neo4j service provider in your Silex app like this;, (*4)

use KBrabrand\Silex\Provider\Neo4jServiceProvider;

$app->register(new Neo4jServiceProvider(), array(
    'neo4j.transport' => 'localhost', // Hostname as string, or Everyman\Neo4j\Transport object
    'neo4j.port'      => 7474,        // Port number, ignored if transport is not a string
));

Usage

After registering the Neo4j service provider, the Everyman\Neo4j\Client instance can be accessed from the $app variable like this;, (*5)

$node = $app['neo4j']->getNode(123);

Tests

The service provider comes with PHPUnit tests and can be run by doing a ./vendor/phpunit/phpunit/phpunit inside the silex-neo4j folder., (*6)

License

License Copyright (c) 2014, Kristoffer Brabrand kristoffer@brabrand.no, (*7)

Licensed under the MIT License, (*8)

The Versions

07/12 2016

dev-master

9999999-dev

Neo4j service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

07/12 2016

2.0.0

2.0.0.0

Neo4j service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

07/01 2015

1.0.4

1.0.4.0

Neo4j service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

05/01 2015

1.0.3

1.0.3.0

Neo4j service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

19/08 2014

1.0.2

1.0.2.0

Neo4j service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

18/08 2014

1.0.1

1.0.1.0

Neo4j service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

07/08 2014

1.0

1.0.0.0

Neo4j service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand