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 6y 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 3w ago

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 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

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

2231d 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://avatars.githubusercontent.com/u/65825447?v=4)[chehc](/maintainers/chehc)[@chehc](https://github.com/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

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M129](/packages/laravel-pulse)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M94](/packages/mongodb-laravel-mongodb)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M129](/packages/roots-acorn)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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