Laravel wrapper for the Neo4j graph database REST interface
edwinfadilah/neoeloquent is a Laravel package for laravel wrapper for the neo4j graph database rest interface.
It currently has 1 GitHub stars and 14.734 downloads on Packagist (latest version v2.0.1).
Install it with composer require edwinfadilah/neoeloquent.
Discover more Laravel packages by edwinfadilah
or browse all Laravel packages to compare alternatives.
Last updated
Neo4j Graph Eloquent Driver for Laravel. This is a personal-use package which is cloned from https://github.com/Vinelab/NeoEloquent.
Add the package to your composer.json and run composer update.
{
"require": {
"edwinfadilah/neoeloquent": "2.0.*"
}
}
{
"require": {
"edwinfadilah/neoeloquent": "1.7.*"
}
}
{
"require": {
"edwinfadilah/neoeloquent": "1.6.*"
}
}
{
"require": {
"edwinfadilah/neoeloquent": "1.5.*"
}
}
{
"require": {
"edwinfadilah/neoeloquent": "1.4.*"
}
}
{
"require": {
"edwinfadilah/neoeloquent": "1.3.*"
}
}
{
"require": {
"edwinfadilah/neoeloquent": "1.2.*"
}
}
{
"require": {
"edwinfadilah/neoeloquent": "1.1.*"
}
}
{
"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.
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
]
]
If you're willing to have migrations:
app/database/labelscomposer.json and add app/database/labels to the classmap arraycomposer dump-autoloadFor further documentation information, please see it's original repository: https://github.com/Vinelab/NeoEloquent