bazo / nette-neo4j-extension
Nette Neo4j compiler extension
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 4
Forks: 2
Open Issues: 1
Type:nette-addon
Requires
- php: >=5.3.0
- hirevoice/neo4jphp-ogm: *
This package is not auto-updated.
Last update: 2024-10-12 12:54:55 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!