bazo/nette-neo4j-extension

There is no license information available for the latest version (dev-master) of this package.

Nette Neo4j compiler extension

dev-master 2013-05-14 19:37 UTC

This package is not auto-updated.

Last update: 2024-11-09 13:14:26 UTC


README

Neo4j extension for Nette Framework

Provides configured entity manager from https://github.com/lphuberdeau/Neo4j-PHP-OGM and a debug panel

Instal via composer

"require": {
		"bazo/nette-neo4j-extension": "@dev"
    }

register in bootstrap

$configurator->onCompile[] = function($configurator, $compiler) {
		$compiler->addExtension('neo4j', new \Bazo\Extensions\Neo4j\DI\Neo4jExtension);
};

configuration options in config.neon:

neo4j:
	host: localhost
	port: 7474
	cachePrefix: neo4j
	metaDataCache: apc
	proxyDir: %appDir%/models/proxies

enjoy!