PHPackages                             t4web/domain-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. t4web/domain-module

ActiveZf2-module[Framework](/categories/framework)

t4web/domain-module
===================

ZF2 Module for Domain implementation.

1.5.0(7y ago)21.5k4BSD-3-ClausePHPPHP &gt;=5.5.0

Since Jan 8Pushed 7y ago3 watchersCompare

[ Source](https://github.com/t4web/DomainModule)[ Packagist](https://packagist.org/packages/t4web/domain-module)[ Docs](https://github.com/t4web/DomainModule)[ RSS](/packages/t4web-domain-module/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (7)Versions (36)Used By (4)

Domain module
=============

[](#domain-module)

Master: [![Build Status](https://camo.githubusercontent.com/95a157824b5180ad43bf386c89c95d2a089cb4e57b3edbe1e6fe233fc54a006c/68747470733a2f2f7472617669732d63692e6f72672f74347765622f446f6d61696e4d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/t4web/DomainModule)[![codecov.io](https://camo.githubusercontent.com/0c66800e846e123859077777dd06d6ddb93ad53d3fd78ad59872e5d5a26ba2b1/687474703a2f2f636f6465636f762e696f2f6769746875622f74347765622f446f6d61696e4d6f64756c652f636f7665726167652e7376673f6272616e63683d6d6173746572)](http://codecov.io/github/t4web/DomainModule?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b7182b3bf4a15e00fa225c3b06886390ed29962985aad697952f0288e7ed4017/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74347765622f446f6d61696e4d6f64756c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/t4web/DomainModule/?branch=master)

ZF2 Module for [Domain implementation](https://github.com/t4web/Domain) and [Infrastructure implementation](https://github.com/t4web/Infrastructure). Provide dynamically setup Domain layer.

### Main Setup

[](#main-setup)

#### By cloning project

[](#by-cloning-project)

1. Clone this project into your `./vendor/` directory.

#### With composer

[](#with-composer)

1. Add this project in your composer.json:

```
"require": {
    "t4web/domain-module": "~1.3.0"
}
```

2. Now tell composer to download DomainModule by running the command:

```
$ php composer.phar update
```

#### Post installation

[](#post-installation)

1. Enabling it in your `application.config.php`file.

```
