Skip to content

Instantly share code, notes, and snippets.

@michellesanver
Last active January 2, 2016 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michellesanver/8333870 to your computer and use it in GitHub Desktop.
Save michellesanver/8333870 to your computer and use it in GitHub Desktop.
Use.
<?php
use Everyman\Neo4j\Client,
Everyman\Neo4j\Transport,
Everyman\Neo4j\Node,
Everyman\Neo4j\Relationship;
$client = $this->get('neo4j.client');
$user = new Node($client);
$user->setProperty('username', 'michellesanver')->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment