Questions tagged [neoeloquent]

The Neo4j OGM (object-graph mapping) for Laravel

Neo4j Graph Eloquent Driver for Laravel.

For questions that are not suitable for the StackOverflow Q&A Format, please reach out on Slack and use the #neo4j-php channel.

Useful Links


Related tags :

30 questions
3
votes
0 answers

why laravel Can't open connection to http://localhost:7474/db/data/?

I have installed neo4j as root, it runs properly and accessible for all from everywhere except for my laravel application. it gives my the error "Can't open connection to http://localhost:7474/db/data/". Then I removed it and reinstalled it with…
3
votes
0 answers

NeoEloquent Undefined property: Illuminate\Database\Query\Builder::$matches

I'm new to Neo4J and Laravel combined. I was trying out the Vinelab\NeoEloquent library to have a wrapper for Eloquent. Now if i try the default laravel auth code it gives me the following error: Undefined property:…
djkevino
  • 264
  • 2
  • 16
3
votes
1 answer

Laravel NeoEloquent ignores "CONSTRAINT" on ::create command

So I just started to write my API, and came across this bug: On creating user that has unique CONSTRAINT twice, There is exception returned, but the node is still being created! The CONSTRAINT is on "User:access_token" property, and I'm using the…
Itay Elkouby
  • 344
  • 1
  • 15
2
votes
0 answers

Store session details in database laravel-neo4j

Hello everyone, I am new to neo4j. I have built a test app. It is a simple laravel-neo4j user login and register app. Everything works fine. But I want to store the session details in the database, not in the file. So I have tried this method and…
Rich
  • 155
  • 1
  • 8
  • 23
2
votes
1 answer

Laravel 5.3 Passport Models to use NeoEloquent

Is there an easy way to override the Laravel 5.3 Passport Models so they would use Vinelab\NeoEloquent\Eloquent\Model instead of Illuminate\Database\Eloquent\Model
Azeem Michael
  • 193
  • 1
  • 4
  • 15
2
votes
1 answer

Client authentication failed when trying to get oAuth access token

I'm working on a Laravel 4.2 app built with dingo/api and NeoEloquent to support Graph databases. I want to implement OAuth, probably using lucadegasperi/oauth2-server-laravel, but this doesn't work with NeoEloquent. After I created a Client in the…
gidomanders
  • 465
  • 5
  • 16
1
vote
2 answers

Retrive DateTime from Neo4j using Lumen and NeoEloquent OGM

Context I'm creating an api rest that it interfaces to a graph db already filled by nodes and edge that describes events and exhibit's positions inside several museum that are charactirized by zones. In particular there are some edges between…
M.Morris
  • 147
  • 1
  • 12
1
vote
1 answer

Retrieve edge and relationship properties using lumen

I'm new of lumen and neo4j, I'd like to add some properties to a specific relationship between two labels. For example if we suppose that there is a many to many relationship between the Exhibit label and Zone label that is characterized by…
M.Morris
  • 147
  • 1
  • 12
1
vote
1 answer

Create an api using lumen and neo4j

I want to create an api rest using lumen that it will comunicate with neo4j, for this purpose I'm using NeoEloquent. I've already read the NeoEloquent's documentation but I'm confused. I've understand how lumen it work with a relational database,…
M.Morris
  • 147
  • 1
  • 12
1
vote
0 answers

NeoEloquent Class not found Symfony\Component\Debug\Exception\FatalThrowableError

I'm trying to create a link in between 2 objects using NeoEloquent. Unfortunately i get the following error. Class 'Permission' not found I tried pretty much everything but i can't get it to work unfortunately. I submit the permission objects I…
djkevino
  • 264
  • 2
  • 16
1
vote
2 answers

how do I use skip/take in Vinelab/Neoeloquent queries: PHP

I want to limit the number of results given by a Neoeloquent query, take() works fine but I don't know how should I use skip()? I read the laravel 5.2 Doc. I'm trying to use skip(10)->take(10) but it says "Method skip does not exist." here is my…
Omid
  • 41
  • 5
1
vote
0 answers

Vinelab/NeoEloquent - Realtionship to a exisiting node

I am using Vinelab\NeoEloquent for a new project for Neo4j. I have a registration where people can supply interests (as nodes). When registering, first the user is created, then the interests are created (if they don't exist), an given a…
Wally Kolcz
  • 1,604
  • 3
  • 24
  • 45
1
vote
0 answers

Laravel 5 and Neo4j remote connection with NeoEloquent

Im with Laravel 5 and NeoEloquent (Neo4j). I have a no-ip domain to my computer and Neo4j local and the web on a hosting. I setup web to connecto to my computer no-ip but still not work. Port 7474 is open trought my router. Also uncomment on…
Santi Barbat
  • 2,097
  • 2
  • 21
  • 26
0
votes
1 answer

Cannot use Neo4j with Laravel with the help of NeoEloquent

I am trying to use Neo4j database in a Laravel project using NeoEloquent driver. I followed the instructions there. The config/database.php file has: 'default' => 'neo4j', 'connections' => [ 'neo4j' => [ 'driver' => 'neo4j', …
Istiaque Ahmed
  • 6,072
  • 24
  • 75
  • 141
0
votes
0 answers

Laravel NeoEloquent equivalent to Inner Join

I have this Graph The green Nodes are Answers. The dark rose node is Question, there could be more than one. The Blue node is a section, there could be more than one. And finally the rose node is the questionnaire. And I've downloaded NeoEloquent…
FicLel
  • 11
  • 1
  • 5
1
2