dev-master
9999999-devZend Framework 2 Module that provides Neo4j OGM functionality
MIT
The Requires
- php >=5.3.3
- doctrine/doctrine-module 0.*
- zendframework/zendframework 2.*
- hirevoice/neo4jphp-ogm dev-master
zf2 module neo4j ogm humus
Zend Framework 2 Module that provides Neo4j OGM functionality
This module integrates Neo4j-PHP-OGM with Zend Framework 2 quickly and easily. The following features are intended to work out of the box:, (*2)
pre-alpha, currently there is no big work done on this., (*3)
Zend Framework 2 Application Skeleton (or compatible architecture), (*4)
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org., (*5)
cd my/project/directory
create a composer.json
file with following contents:, (*6)
json
{
"minimum-stability": "dev",
"require": {
"prolic/humus-neo4j-ogm-module": "dev-master"
}
}
, (*7)
curl -s http://getcomposer.org/installer | php
(on windows, download
http://getcomposer.org/installer and execute it with PHP)php composer.phar install
open my/project/directory/configs/application.config.php
and add following keys to your modules
(in this order), (*8)
php
'HumusNeo4jOGMModule',
, (*9)
copy vendor/prolic/humus-neo4j-ogm-module/config/module.humus-neo4j-ogm.local.php.dist
into your application's
config/autoload
directory, rename it to module.humus-neo4j-ogm.local.php
and make the appropriate changes.
With this config file you can configure your neo4j connection settings., (*10)
create directory my/project/directory/data/HumusNeo4jOGMModule/Proxy
and make sure your application has write access to it., (*11)
Access the entity manager using the following service manager alias:, (*12)
<?php $em = $this->getServiceLocator()->get('humusneo4jogm.entitymanager.ogm_default');
Zend Framework 2 Module that provides Neo4j OGM functionality
MIT
zf2 module neo4j ogm humus