PHPackages                             msgphp/domain - 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. [Database &amp; ORM](/categories/database)
4. /
5. msgphp/domain

AbandonedLibrary[Database &amp; ORM](/categories/database)

msgphp/domain
=============

A dependency-free package to help building a business domain layer

v0.15.1(6y ago)168.7k↓33.3%22MITPHPPHP ^7.2

Since Jan 19Pushed 2y agoCompare

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

READMEChangelogDependencies (4)Versions (40)Used By (2)

NOT ACTIVELY SUPPORTED ANY MORE!!
=================================

[](#not-actively-supported-any-more)

msgphp/\* repositories are not actively developed/supported anymore.

**Use in production on your own risks.**

If you want to do some hotfixes - please do PR directly in target repository instead of old monorepository.

Domain
======

[](#domain)

A dependency-free package to help building a business domain layer.

[![Latest Stable Version](https://camo.githubusercontent.com/218576ef5f86687a3d3fca89f50d8a0e2d95f61511ea4e4f3b0f63bb56c2bf25/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d73677068702f646f6d61696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/msgphp/domain)

Installation
============

[](#installation)

```
composer require msgphp/domain
```

Documentation
=============

[](#documentation)

- [Domain-Driven-Design](https://msgphp.github.io/docs/ddd/identifiers/)
- [Event sourcing](https://msgphp.github.io/docs/event-sourcing/event-handlers/)
- [Projection model](https://msgphp.github.io/docs/projection/models/)
- Try the Symfony [demo application](https://github.com/msgphp/symfony-demo-app)
- Get support on [Symfony's Slack `#msgphp` channel](https://symfony.com/slack-invite) or [raise an issue](https://github.com/msgphp/msgphp/issues/new)

Contributing
============

[](#contributing)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 95.9% 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 ~20 days

Recently: every ~57 days

Total

39

Last Release

2262d ago

PHP version history (2 changes)v0.1.0PHP ^7.1.0

v0.11.0PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a085b32074bea8d4d3896e9bfa972c1b575cf6b972c944852c783688fa52780?d=identicon)[ro0NL](/maintainers/ro0NL)

---

Top Contributors

[![ro0NL](https://avatars.githubusercontent.com/u/1047696?v=4)](https://github.com/ro0NL "ro0NL (370 commits)")[![Lctrs](https://avatars.githubusercontent.com/u/5477973?v=4)](https://github.com/Lctrs "Lctrs (4 commits)")[![GwendolenLynch](https://avatars.githubusercontent.com/u/1427081?v=4)](https://github.com/GwendolenLynch "GwendolenLynch (4 commits)")[![zhil](https://avatars.githubusercontent.com/u/981783?v=4)](https://github.com/zhil "zhil (3 commits)")[![tacman](https://avatars.githubusercontent.com/u/619585?v=4)](https://github.com/tacman "tacman (1 commits)")[![pascalwacker](https://avatars.githubusercontent.com/u/772008?v=4)](https://github.com/pascalwacker "pascalwacker (1 commits)")[![jkabat](https://avatars.githubusercontent.com/u/6071927?v=4)](https://github.com/jkabat "jkabat (1 commits)")[![dvc](https://avatars.githubusercontent.com/u/588564?v=4)](https://github.com/dvc "dvc (1 commits)")[![sanderdlm](https://avatars.githubusercontent.com/u/24303072?v=4)](https://github.com/sanderdlm "sanderdlm (1 commits)")

---

Tags

api-platformclicqrsdoctrinedomain-driven-designevent-sourcingmessage-drivenphpphp7symfonyuuidormentityDomain Driven Designrepositoryddddomain modelevent sourcingcqrsesrich domain modelcommand query responsibility segregation

### Embed Badge

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

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

###  Alternatives

[broadway/broadway

Infrastructure and testing helpers for creating CQRS and event sourced applications.

1.5k2.0M53](/packages/broadway-broadway)[analogue/orm

An intuitive Data Mapper ORM for PHP and Laravel

63547.1k3](/packages/analogue-orm)[nwidart/laravel-broadway

A Laravel adapter for the Broadway ES/CQRS package.

12315.0k](/packages/nwidart-laravel-broadway)[broadway/broadway-bundle

Symfony bundle for broadway/broadway.

68853.8k7](/packages/broadway-broadway-bundle)[kassko/data-mapper

A mapper which gives a lot of features to representate some raw data like objects

1338.5k1](/packages/kassko-data-mapper)

PHPackages © 2026

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