Tinkering with Neo4j ... and PHP
- docker with docker compose
-
Copy
docker/.env.example
andphp/.env.example
to.env
and adapt to your needs.(This step is only required once.)
-
Install Neo4J plugins:
make neo4j-plugins
(This step is only required once.)
-
Launch docker containers:
make docker-start
-
Install composer dependencies:
make composer-install
OR container:
make shell
composer install
(This step is only required when running the first time or after updates.)
The web interface is by default accessible at:
http://localhost:7474/browser/
Launch a cypher shell via
make cypher-shell
bin/console graphalistic:query <query>
bin/console graphalistic:purge -f
curl -X POST http://neo4j:test@neo4j:7474/graphaware/resttest/assertEmpty