PHP code example of stefanak-michal / neo4j-bolt-wrapper

1. Go to this page and download the library: Download stefanak-michal/neo4j-bolt-wrapper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

stefanak-michal / neo4j-bolt-wrapper example snippets


Neo4j::$auth = \Bolt\helpers\Auth::basic('username', 'password');
$rows = Neo4j::query('RETURN $n as num', ['n' => 123]);

Neo4j::$host = 'neo4j+s://demo.neo4jlabs.com';
Neo4j::$port = 7687;

Neo4j::begin();
Neo4j::commit();
Neo4j::rollback();