Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eddiejaoude/zf2-doctrine2-manager-registry-service
Creates & Exposes Doctrine2 Register Service for Zend Framework 2 as a Module (ManagerRegistry)
https://github.com/eddiejaoude/zf2-doctrine2-manager-registry-service
Last synced: 2 months ago
JSON representation
Creates & Exposes Doctrine2 Register Service for Zend Framework 2 as a Module (ManagerRegistry)
- Host: GitHub
- URL: https://github.com/eddiejaoude/zf2-doctrine2-manager-registry-service
- Owner: eddiejaoude
- License: mit
- Created: 2014-02-12T17:43:19.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-06-20T11:34:54.000Z (over 8 years ago)
- Last Synced: 2024-07-11T13:55:44.599Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 220 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/eddiejaoude/zf2-doctrine2-manager-registry-service.png)](https://travis-ci.org/eddiejaoude/zf2-doctrine2-manager-registry-service)
[![Coverage Status](https://coveralls.io/repos/eddiejaoude/zf2-doctrine2-manager-registry-service/badge.png?branch=master)](https://coveralls.io/r/eddiejaoude/zf2-doctrine2-manager-registry-service?branch=master)
[![Total Downloads](https://poser.pugx.org/eddiejaoude/zf2-doctrine2-manager-registry-service/downloads.png)](https://packagist.org/packages/eddiejaoude/zf2-doctrine2-manager-registry-service)# 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
```---
## Resources
* Github https://github.com/eddiejaoude/zf2-doctrine2-manager-registry-service
* Packagist https://packagist.org/packages/eddiejaoude/zf2-doctrine2-manager-registry-service
* Coveralls https://coveralls.io/r/eddiejaoude/zf2-doctrine2-manager-registry-service---