Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-18-2020 03:59 PM
05-19-2020 04:48 AM
Hi, I don't think you need the Symfony framework for a simple php application. The only think you have to do is to add the library to your project using composer and then create the connection as explained in the README like the following:
<?php
require_once 'vendor/autoload.php';
use GraphAware\Neo4j\Client\ClientBuilder;
$client = ClientBuilder::create()
->addConnection('default', 'http://neo4j:password@localhost:7474') // Example for HTTP connection configuration (port is optional)
->addConnection('bolt', 'bolt://neo4j:password@localhost:7687') // Example for BOLT connection configuration (port is optional)
->build();
Let me know if you have any other questions. We are currently working in the integration with Drupal in this module https://www.drupal.org/project/neo4j
Good luck!
05-21-2020 03:15 PM
Thank you Ruben. I hope to learn how to CRUD neo4j with PHP no framework, can you provide a demo to me.Thank you very much.
06-06-2020 04:02 AM
This is an example of how to do it without any PHP framework but I don't think it's a good practice: https://github.com/graphaware/neo4j-php-ogm-tutorial
Have a look and let me know if you need any help.
All the sessions of the conference are now available online