This example shows how you can run the PHP framework Flow with the graph database Neo4j.
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.
Now you can open the application with the following url http://172.16.239.27
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