PHPackages                             chehc/neo-eloquent - 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. chehc/neo-eloquent

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

chehc/neo-eloquent
==================

Laravel wrapper for the Neo4j graph database REST interface

v2.0.1(6y ago)241MITPHPPHP &gt;=7.2.0CI failing

Since Jan 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/chehc/NeoEloquent)[ Packagist](https://packagist.org/packages/chehc/neo-eloquent)[ RSS](/packages/chehc-neo-eloquent/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (9)Versions (23)Used By (0)

NeoEloquent
===========

[](#neoeloquent)

Neo4j Graph Eloquent Driver for Laravel. This is a personal-use package which is cloned from .

Quick Reference
---------------

[](#quick-reference)

- [Installation](#installation)
- [Configuration](#configuration)

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

[](#installation)

Add the package to your `composer.json` and run `composer update`.

### Laravel 6

[](#laravel-6)

#### 6.x

[](#6x)

```
{
    "require": {
        "edwinfadilah/neoeloquent": "2.0.*"
    }
}
```

### Laravel 5

[](#laravel-5)

#### 5.8

[](#58)

```
{
    "require": {
        "edwinfadilah/neoeloquent": "1.7.*"
    }
}
```

#### 5.7

[](#57)

```
{
    "require": {
        "edwinfadilah/neoeloquent": "1.6.*"
    }
}
```

#### 5.6

[](#56)

```
{
    "require": {
        "edwinfadilah/neoeloquent": "1.5.*"
    }
}
```

#### 5.5

[](#55)

```
{
    "require": {
        "edwinfadilah/neoeloquent": "1.4.*"
    }
}
```

#### 5.4

[](#54)

```
{
    "require": {
        "edwinfadilah/neoeloquent": "1.3.*"
    }
}
```

#### 5.3

[](#53)

```
{
    "require": {
        "edwinfadilah/neoeloquent": "1.2.*"
    }
}
```

#### 5.2

[](#52)

```
{
    "require": {
        "edwinfadilah/neoeloquent": "1.1.*"
    }
}
```

#### 5.1

[](#51)

```
{
    "require": {
        "edwinfadilah/neoeloquent": "1.0.*"
    }
}
```

Add the service provider in `app/config/app.php`:

```
'EdwinFadilah\NeoEloquent\NeoEloquentServiceProvider',
```

The service provider will register all the required classes for this package and will also alias the `Model` class to `NeoEloquent` so you can simply `extend NeoEloquent` in your models.

Configuration
-------------

[](#configuration)

### Connection

[](#connection)

in `app/config/database.php` or in case of an environment-based configuration `app/config/[env]/database.php`make `neo4j` your default connection:

```
'default' => 'neo4j',
```

Add the connection defaults:

```
'connections' => [
    'neo4j' => [
        'driver' => 'neo4j',
        'host'   => 'localhost',
        'port'   => '7474',
        'username' => null,
        'password' => null,
        'ssl' => false
    ]
]
```

### Migration Setup

[](#migration-setup)

If you're willing to have migrations:

- create the folder `app/database/labels`
- modify `composer.json` and add `app/database/labels` to the `classmap` array
- run `composer dump-autoload`

### Documentation

[](#documentation)

For further documentation information, please see it's original repository:

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~5 days

Recently: every ~27 days

Total

22

Last Release

2180d ago

Major Versions

v1.7.0 → v2.0.02020-02-04

v1.7.1 → v3.0.x-dev2020-05-23

PHP version history (4 changes)v1.0.0PHP &gt;=5.4.0

v1.3.0PHP &gt;=5.6.0

v1.4.0PHP &gt;=7.0.0

v2.0.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/49b00c942d17a32b538b7061d5c32f1df956abee8b7d10fb2f86363c3edea169?d=identicon)[chehc](/maintainers/chehc)

---

Top Contributors

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

---

Tags

laraveldatabaseneo4jgraphneoeloquent

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chehc-neo-eloquent/health.svg)

```
[![Health](https://phpackages.com/badges/chehc-neo-eloquent/health.svg)](https://phpackages.com/packages/chehc-neo-eloquent)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[vinelab/neoeloquent

Laravel wrapper for the Neo4j graph database REST interface

65393.1k1](/packages/vinelab-neoeloquent)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[ulobby/neoeloquent

Laravel wrapper for the Neo4j graph database REST interface

4473.4k](/packages/ulobby-neoeloquent)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)[aimeos/laravel-nestedset

Nested Set Model for Laravel

292.0k2](/packages/aimeos-laravel-nestedset)

PHPackages © 2026

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