eddiejaoude / zf2-doctrine2-manager-registry-service
Creates & Exposes Doctrine2 Register Service (ManagerRegistry)
Installs: 18 184
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 4
Open Issues: 1
Requires
- php: >=5.4
- doctrine/doctrine-orm-module: 0.*
- doctrine/orm: >2.4
- zendframework/zend-di: 2.*
- zendframework/zend-mvc: 2.*
Requires (Dev)
- mockery/mockery: 0.8.0
- phpunit/phpunit: 3.7.*
- satooshi/php-coveralls: dev-master
- zendframework/zendframework: 2.*
This package is not auto-updated.
Last update: 2024-10-22 02:48:26 UTC
README
zf2-doctrine2-Manager-registry-service
Creates & Exposes Doctrine2 Register Service for Zend Framework 2 as a Module (ManagerRegistry)
Installation via Composer
Steps
1. Add to composer.
"require" : {
"eddiejaoude/zf2-doctrine2-Manager-registry-service" : "0.*"
}
2. Add module to application config (/config/application.config.php)
...
'modules' => array(
'EddieJaoude\Zf2Doctrine2ManagerRegistryService',
),
...
Then you are good to go. All requests & responses will be logged.
Example Usage
On the service manager, get the ManagerRegistry
$serviceManager->get('Doctrine\ManagerRegistry');
Unit tests
To run unit tests from the root of the project
vendor/bin/phpunit -c tests/phpunit.xml