Skip to content

Simple Persistence Framework following DDD (Domain Driven Design) principles written in PHP

License

Notifications You must be signed in to change notification settings

goten4/GtnPersistBase

Repository files navigation

Zend Framework 2 DDD Persistence Module

Build Status Coverage Status

Introduction

GtnPersistBase is a Zend Framework 2 module providing the basics for persistence trying to follow DDD principles.

Requirements

  • Zend Framework 2

Installation

Simply clone this project into your ./vendor/ directory and enable it in your ./config/application.config.php file.

Provided Classes and Interfaces

  • GtnPersistBase\Model\EntityInterface - Interface defining an entity.
  • GtnPersistBase\Model\AggregateRootInterface - Interface defining an aggregate root.
  • GtnPersistBase\Model\RepositoryInterface - Interface defining the minimum set of methods a repository must implements.
  • GtnPersistBase\Infrastructure\Memory\Repository - In memory Repository implementation (useful in unit tests context).

See also

About

Simple Persistence Framework following DDD (Domain Driven Design) principles written in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages