PHPackages                             kbrabrand/silex-neo4j - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kbrabrand/silex-neo4j

ActiveLibrary

kbrabrand/silex-neo4j
=====================

Neo4j service provider for Silex

2.0.0(9y ago)11.3k3MITPHPPHP &gt;=5.5.9

Since Aug 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/kbrabrand/silex-neo4j)[ Packagist](https://packagist.org/packages/kbrabrand/silex-neo4j)[ RSS](/packages/kbrabrand-silex-neo4j/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (4)Versions (7)Used By (0)

Neo4j service provider for Silex
================================

[](#neo4j-service-provider-for-silex)

Service provider making the Neo4j graph database accessible to your Silex application.

[![Build Status](https://camo.githubusercontent.com/4e63ead2ec78c6d14f6a58dff7b6674f2f335fb9380c8db5070182bcd17fefdd/68747470733a2f2f7472617669732d63692e6f72672f6b6272616272616e642f73696c65782d6e656f346a2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kbrabrand/silex-neo4j)

Installation
------------

[](#installation)

Add `"kbrabrand/silex-neo4j": "XXX"` to the composer.json file inside your project and do a `composer install`. Check [Composer](http://packagist.org/packages/kbrabrand/silex-neo4j) for the latest available version.

Setup instructions
------------------

[](#setup-instructions)

Register the Neo4j service provider in your Silex app like this;

```
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
-----

[](#usage)

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

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

Tests
-----

[](#tests)

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

License
-------

[](#license)

License Copyright (c) 2014, Kristoffer Brabrand

Licensed under the MIT License

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~170 days

Recently: every ~210 days

Total

6

Last Release

3443d ago

Major Versions

1.0.4 → 2.0.02016-12-07

PHP version history (2 changes)1.0PHP &gt;=5.3.3

2.0.0PHP &gt;=5.5.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/4dc712d46ad616603b6d7c1be04809a6789935c6cf7c99e9f1e891ac2045f7a5?d=identicon)[kbrabrand](/maintainers/kbrabrand)

---

Top Contributors

[![kbrabrand](https://avatars.githubusercontent.com/u/2884292?v=4)](https://github.com/kbrabrand "kbrabrand (9 commits)")[![pyrokar](https://avatars.githubusercontent.com/u/949836?v=4)](https://github.com/pyrokar "pyrokar (4 commits)")[![androa](https://avatars.githubusercontent.com/u/588046?v=4)](https://github.com/androa "androa (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kbrabrand-silex-neo4j/health.svg)

```
[![Health](https://phpackages.com/badges/kbrabrand-silex-neo4j/health.svg)](https://phpackages.com/packages/kbrabrand-silex-neo4j)
```

###  Alternatives

[stikmanw/silex-newrelic

Integrate the NewRelic PHP API into Silex framework

2014.7k](/packages/stikmanw-silex-newrelic)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
