This script below writen in CI and Neo4jPHP environment.
$client = new Everyman\Neo4j\Client("localhost", 7474);
$client->getTransport()->setAuth("admin","password");
$all_labels = $client->getLabels();
foreach ($all_labels as $key=>$a_label)
{
echo $key.": ".$a_label->getName()."\n";
}
List of labels expected, but i didn't get anything.