PHPackages                             church/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. [Database &amp; ORM](/categories/database)
4. /
5. church/neo4j

ActiveLibrary[Database &amp; ORM](/categories/database)

church/neo4j
============

neo4j sdk for php

1.2(3y ago)127MITPHPPHP &gt;=7.4

Since Jul 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fireqong/neo4j)[ Packagist](https://packagist.org/packages/church/neo4j)[ RSS](/packages/church-neo4j/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

Introduction
------------

[](#introduction)

> This is neo4j sdk for php

Requirement
-----------

[](#requirement)

- PHP &gt;= 7.4

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

[](#installation)

```
composer require church/neo4j
```

Usage
-----

[](#usage)

### Init

[](#init)

```
$app = new \Church\Neo4j\Application("http://127.0.0.1:7474", "neo4j", "neo4j");
$app->discovery();
```

### query

[](#query)

```
$statement = (new \Church\Neo4j\Statement('CREATE (n $props) RETURN n)'))->params([
    'props' => [
        'name' => 'test'
    ]
]);
```

### begin

[](#begin)

```
$statements = \Church\Neo4j\StatementRepository::add($statement);
$transaction = $app->transaction($statements);
$transaction->begin();
```

### commit

[](#commit)

```
$result = $transaction->commit();

if ($result->getRawResponse()->getStatusCode() == 200) {
    print_r($result->getData());
}
```

### keepAlive

[](#keepalive)

> default expiry time is 60 seconds.

```
$transaction->keepAlive();
```

### rollback

[](#rollback)

```
$transaction->rollback();
```

### beginAndCommit

[](#beginandcommit)

```
$result = $transaction->beginAndCommit();
print_r($result);
```

Test
----

[](#test)

```
composer install
./vendor/bin/phpunit
```

Protocol
--------

[](#protocol)

> MIT

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

3

Last Release

1387d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c760cdd308559cfd4634a9a0242e8f71095bf7777b8219ac30ec2fe3ab2f657a?d=identicon)[fireqong](/maintainers/fireqong)

---

Top Contributors

[![fireqong](https://avatars.githubusercontent.com/u/7379427?v=4)](https://github.com/fireqong "fireqong (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[tpetry/laravel-mysql-explain

Get Visual MySQL EXPLAIN for Laravel.

264154.2k](/packages/tpetry-laravel-mysql-explain)[aternus/geonames-client

GeoNames API Client

39215.5k2](/packages/aternus-geonames-client)[gearbox-solutions/eloquent-filemaker

A package for getting FileMaker records as Eloquent models in Laravel

6454.8k2](/packages/gearbox-solutions-eloquent-filemaker)

PHPackages © 2026

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