PHPackages                             matiux/ddd-starter-pack - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. matiux/ddd-starter-pack

ActiveLibrary[Queues &amp; Workers](/categories/queues)

matiux/ddd-starter-pack
=======================

Basic Domain Driven Design utils

v4.12.5(2mo ago)44.5k3[3 PRs](https://github.com/matiux/ddd-starter-pack/pulls)MITPHPPHP &gt;=8.2CI failing

Since Oct 28Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/matiux/ddd-starter-pack)[ Packagist](https://packagist.org/packages/matiux/ddd-starter-pack)[ RSS](/packages/matiux-ddd-starter-pack/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (3)Dependencies (34)Versions (164)Used By (0)

DDD Starter Pack
================

[](#ddd-starter-pack)

[![check dependencies](https://github.com/matiux/ddd-starter-pack/actions/workflows/check-dependencies.yml/badge.svg)](https://github.com/matiux/ddd-starter-pack/actions/workflows/check-dependencies.yml/badge.svg)[![check deps vulnerability](https://github.com/matiux/ddd-starter-pack/actions/workflows/dependencies-vulnerability.yml/badge.svg)](https://github.com/matiux/ddd-starter-pack/actions/workflows/dependencies-vulnerability.yml/badge.svg)[![test](https://github.com/matiux/ddd-starter-pack/actions/workflows/tests.yml/badge.svg)](https://github.com/matiux/ddd-starter-pack/actions/workflows/tests.yml/badge.svg)[![codecov](https://camo.githubusercontent.com/853983b30410d853545f814b13811994bf1664a25c39190efca887b77ef8e325/68747470733a2f2f636f6465636f762e696f2f67682f6d61746975782f6464642d737461727465722d7061636b2f6272616e63682f646576656c6f702f67726170682f62616467652e737667)](https://codecov.io/gh/matiux/ddd-starter-pack)[![type coverage](https://camo.githubusercontent.com/e77e4806b706b388500b0e8a66505478e12a4db750a7d46bb00644583b6f5370/68747470733a2f2f73686570686572642e6465762f6769746875622f6d61746975782f6464642d737461727465722d7061636b2f636f7665726167652e737667)](https://shepherd.dev/github/matiux/ddd-starter-pack)[![psalm level](https://camo.githubusercontent.com/e8e50c90ea51b2a05915cf20c49f00966f1ec8e811c9f97c34d17331fc17464f/68747470733a2f2f73686570686572642e6465762f6769746875622f6d61746975782f6464642d737461727465722d7061636b2f6c6576656c2e737667)](https://shepherd.dev/github/matiux/ddd-starter-pack)[![Security analysis status](https://github.com/matiux/ddd-starter-pack/actions/workflows/security-analysis.yml/badge.svg)](https://github.com/matiux/ddd-starter-pack/actions/workflows/security-analysis.yml/badge.svg)[![Coding standards status](https://github.com/matiux/ddd-starter-pack/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/matiux/ddd-starter-pack/actions/workflows/coding-standards.yml/badge.svg)[![packagist](https://camo.githubusercontent.com/18174c8318ccd93948fd6e722ddd630fab265df1044a6d0eacd7d094f28509fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61746975782f6464642d737461727465722d7061636b)](https://camo.githubusercontent.com/18174c8318ccd93948fd6e722ddd630fab265df1044a6d0eacd7d094f28509fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61746975782f6464642d737461727465722d7061636b)[![packagist php version](https://camo.githubusercontent.com/9813750aa77a2d8015d127b24ef4f037c876568818df45d5d7249a79c3c1abdc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d61746975782f6464642d737461727465722d7061636b2f706870)](https://camo.githubusercontent.com/9813750aa77a2d8015d127b24ef4f037c876568818df45d5d7249a79c3c1abdc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d61746975782f6464642d737461727465722d7061636b2f706870)

This library contains "concepts" to development of microservices based on hexagonal architecture and DDD.

- Branch v2: PHP &lt; 8.0

Development
-----------

[](#development)

```
git clone git@github.com:matiux/ddd-starter-pack.git && cd ddd-starter-pack
cp docker/docker-compose.override.dist.yml docker/docker-compose.override.yml
rm -rf .git/hooks && ln -s ../scripts/git-hooks .git/hooks
```

```
make build-php ARG=--no-cache
make upd
make composer ARG=install
```

test
----

[](#test)

```
make build-php ARG=--no-cache
make upd
make create-schema
make test
```

This repository uses GitHub actions to perform some checks. If you want to test the actions locally you can use [act](https://github.com/nektos/act). For example if you want to check the action for static analysis

```
act -P ubuntu-latest=shivammathur/node:latest --job static-analysis
```

#### Modules

[](#modules)

- [Aggregate](doc/aggregate.md)
- [Command](doc/command.md)
- [Data transformer](doc/data_transformer.md)
- [Event](doc/event.md)
- [Exception](doc/excpetion.md)
- [Message](doc/message.md)
- [Service](doc/service.md)
- [Util](doc/util.md)

#### TODO

[](#todo)

- Prendere spunto da questi progetti per la gestione degli eventi nei modelli di dominio
    -
    -
- Separare le parti infrastrutturali in altre librerie

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance94

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity94

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 93.4% 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 ~19 days

Recently: every ~97 days

Total

156

Last Release

60d ago

Major Versions

v1.6.0 → v2.0.02019-03-01

v2.1.15 → v3.0.02021-09-13

v2.x-dev → v3.0.12021-10-06

v3.18.3 → v4.0.02023-05-29

v3.19.1 → v4.4.02023-07-06

PHP version history (6 changes)v1.0.0PHP &gt;=7.1

v2.0.0PHP &gt;=7.3

v2.0.15PHP &gt;=7.2

v3.0.0PHP ^8.0

v3.1.4PHP &gt;=8.0

v4.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dbb29f3b357ce6dca7814fa75de51d9f7fa2e9961a28236bef8cf18e0a5f98f?d=identicon)[matiux](/maintainers/matiux)

---

Top Contributors

[![matiux](https://avatars.githubusercontent.com/u/821668?v=4)](https://github.com/matiux "matiux (436 commits)")[![salvatore-pollaci-abilio](https://avatars.githubusercontent.com/u/180106335?v=4)](https://github.com/salvatore-pollaci-abilio "salvatore-pollaci-abilio (18 commits)")[![federicotorrisi](https://avatars.githubusercontent.com/u/21043580?v=4)](https://github.com/federicotorrisi "federicotorrisi (13 commits)")

---

Tags

aggregatebasic-toolsddddomaindomain-driven-designmessageDomain Driven Designddddomainaggregatemessage publishermessage consumer

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/matiux-ddd-starter-pack/health.svg)

```
[![Health](https://phpackages.com/badges/matiux-ddd-starter-pack/health.svg)](https://phpackages.com/packages/matiux-ddd-starter-pack)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

4.6k125.3M871](/packages/php-amqplib-php-amqplib)[aws/aws-php-sns-message-validator

Amazon SNS message validation for PHP

21421.5M91](/packages/aws-aws-php-sns-message-validator)[prooph/event-store-client

Event Store Client for async TCP connections

115134.6k2](/packages/prooph-event-store-client)[thejano/laravel-domain-driven-design

Helps to use domain driven design within laravel

15423.8k](/packages/thejano-laravel-domain-driven-design)[ecotone/symfony-bundle

Extends Ecotone with Symfony integration

11229.0k1](/packages/ecotone-symfony-bundle)

PHPackages © 2026

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