goten4/gtn-persist-zend-db

Zend Framework 2 Module that provides ZendDb implementation for GtnPersistBase


Keywords
zf2, module, ddd, zenddb
License
MIT

Documentation

Zend Framework 2 DDD Persistence Module (Zend\Db)

Build Status Coverage Status

Introduction

GtnPersistZendDb is a Zend Framework 2 module providing the basics for persistence using Zend\Db trying to follow DDD principles.

Requirements

Installation

Via composer or simply clone this project into your ./vendor/ directory and enable it in your ./config/application.config.php file.

Provided Classes and Interfaces

  • GtnPersistZendDb\Infrastructure\ZendDb\Repository - Zend\Db Repository implementation.
  • GtnPersistZendDb\Infrastructure\ZendDb\RepositoryFactory - Factory for creating ZendDb\Repository
  • GtnPersistZendDb\Infrastructure\ZendDb\RepositoryAbstractFactory - Abstract Factory for creating repositories

See also