PHPackages                             phpmentors/domain-kata - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpmentors/domain-kata

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpmentors/domain-kata
======================

Kata for domain models

v1.4.0(10y ago)73426.9k↓22.6%6[2 issues](https://github.com/phpmentors-jp/domain-kata/issues)9BSD-2-ClausePHPPHP &gt;=5.3.3

Since Oct 5Pushed 10y ago11 watchersCompare

[ Source](https://github.com/phpmentors-jp/domain-kata)[ Packagist](https://packagist.org/packages/phpmentors/domain-kata)[ RSS](/packages/phpmentors-domain-kata/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (7)Used By (9)

Domain Kata
===========

[](#domain-kata)

Kata for domain models

[![Total Downloads](https://camo.githubusercontent.com/ac8229b970d9004eb1689038b296716fb936ef762bb44ac03b9e42539add68e3/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f646f6d61696e2d6b6174612f646f776e6c6f6164732e706e67)](https://packagist.org/packages/phpmentors/domain-kata)[![Latest Stable Version](https://camo.githubusercontent.com/9c7ae466bd5644921c4de27486c8a581d2f83af311b7213f607a911790fb98a3/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f646f6d61696e2d6b6174612f762f737461626c652e706e67)](https://packagist.org/packages/phpmentors/domain-kata)[![Latest Unstable Version](https://camo.githubusercontent.com/a3e564ed0493f22a56e89d329ea94acb166d85654ae6e8b47c929463c54978c5/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f646f6d61696e2d6b6174612f762f756e737461626c652e706e67)](https://packagist.org/packages/phpmentors/domain-kata)

`Domain Kata` provides [Kata](http://en.wikipedia.org/wiki/Kata) for domain models that focuses on practice of model-based development such as [domain-driven design](http://en.wikipedia.org/wiki/Domain-driven_design), multi-paradigm design and [generative programming](http://en.wikipedia.org/wiki/Automatic_programming#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
--------

[](#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](https://github.com/phpmentors-jp/domain-kata/wiki/images/class-diagram-14-700.png)](https://github.com/phpmentors-jp/domain-kata/wiki/images/class-diagram-14.png)

Installation
------------

[](#installation)

`Domain Kata` can be installed using [Composer](http://getcomposer.org/).

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
-------

[](#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](https://github.com/phpmentors-jp/domain-kata/issues).

Copyright
---------

[](#copyright)

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

License
-------

[](#license)

[The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 96.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~50 days

Recently: every ~62 days

Total

6

Last Release

3993d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a68a4dab8a48ed7cea7379e065bbe9cbb2c68a6718c9d678afa8e0d261f1255?d=identicon)[hidenorigoto](/maintainers/hidenorigoto)

![](https://avatars.githubusercontent.com/u/52985?v=4)[Atsuhiro Kubo](/maintainers/iteman)[@iteman](https://github.com/iteman)

---

Top Contributors

[![iteman](https://avatars.githubusercontent.com/u/52985?v=4)](https://github.com/iteman "iteman (76 commits)")[![hidenorigoto](https://avatars.githubusercontent.com/u/89830?v=4)](https://github.com/hidenorigoto "hidenorigoto (3 commits)")

---

Tags

architectureDomain Driven Designddddesignmodelinggenerative programming

### Embed Badge

![Health badge](/badges/phpmentors-domain-kata/health.svg)

```
[![Health](https://phpackages.com/badges/phpmentors-domain-kata/health.svg)](https://phpackages.com/packages/phpmentors-domain-kata)
```

###  Alternatives

[phpmentors/domain-commons

Commons for domain models

11287.8k](/packages/phpmentors-domain-commons)[ammardaana/laravel-domain-driven-design

Generate laravel Domain driven design (monolith) structure

111.2k](/packages/ammardaana-laravel-domain-driven-design)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
