Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neo4j Example with FLOW

This example shows how you can run the PHP framework Flow with the graph database Neo4j.

Installation

I highly recommend using docker. For this example I have created a repository with all the necessary docker containers. You can find it here!!!!.

In this repository I set the following path to the example application. Feel free to change it (But don't forget to change it in the docker-compose.yaml too).

 /var/www/graph.app

To install this example it's best to use Composer.

  • Execute into the docker container with 'docker exec -it graph-php-apache bash'
  • Insert the composer.json and composer.lock of this example application in the directory '/var/www/htdocs'
  • Finally run the command 'composer install' in the directory /var/www/htdocs

That's it.

Open the Application

Now you can open the application with the following url http://172.16.239.27

Installation without docker

If you don't want to use docker you have to change the storage settings. You can find them in the distribution package.

FlowGraph:
  Neo4j:
    storage:
      protocol: http
      host: 172.16.239.29
      port: 7474
      user: neo4j
      password: test

About

Neo4j Example with FLOW

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors