KUBO Atsuhiro edited this page Jun 15, 2015 · 8 revisions

Domain Kata

Kata for domain models

Total Downloads Latest Stable Version Latest Unstable Version

Domain Kata provides Kata for domain models that focuses on practice of model-based development such as domain-driven design, multi-paradigm design and generative programming, etc. in your project. By using Domain Kata in your project, it makes easy to identify models in the project, so it allows you to design any package structure (stop using the Model package in your libraries!). And Domain Kata will be a base for a domain-oriented framework which takes advantage of type constraints.


Domain Kata does not provide any concrete classes, but provides a framework (or a model, or an abstraction) as an implementation of a meta-modeling domain for model-based development in the PHP world. Some types of Domain Kata come from domain-driven design, and some are otherwise such as UsecaseInterface, InOutInterface. The following class diagram describes what the framework is:

Domain Kata class diagram


  • PHP 5.3.3 or greater


Domain Kata can be installed using Composer.

Add the dependency to phpmentors/domain-kata into your composer.json file as the following:

Stable version:

composer require phpmentors/domain-kata "1.4.*"

Development version:

composer require phpmentors/domain-kata "~1.5@dev"



Browse Source Code

Browse Source Code

Git Access

git clone https://github.com/phpmentors-jp/domain-kata.git


If you find a bug or have a question, or want to request a feature, create an issue or pull request for it on Issues.


Copyright (c) 2014-2015 KUBO Atsuhiro, 2014-2015 GOTO Hidenori, All rights reserved.


The BSD 2-Clause License

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.