phpmentors/domain-kata

Kata for domain models

v1.4.0 2015-06-13 01:52 UTC

This package is auto-updated.

Last update: 2024-11-29 04:52:11 UTC


README

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.

Features

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

Installation

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"

Support

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

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

License

The BSD 2-Clause License