PHPackages                             cnastasi/ddd - 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. [Framework](/categories/framework)
4. /
5. cnastasi/ddd

ActiveLibrary[Framework](/categories/framework)

cnastasi/ddd
============

A base for a DDD approach

v0.3.0(4y ago)244.8k↓51.8%4[5 issues](https://github.com/cnastasi/ddd/issues)[1 PRs](https://github.com/cnastasi/ddd/pulls)2MITPHP

Since Feb 10Pushed 4y ago4 watchersCompare

[ Source](https://github.com/cnastasi/ddd)[ Packagist](https://packagist.org/packages/cnastasi/ddd)[ RSS](/packages/cnastasi-ddd/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (8)Versions (33)Used By (2)

ddd
===

[](#ddd)

Base concepts for a DDD approach

This library gives you some base building blocks in order to build a DDD architecture.

Introduce into your code some concepts like:

- Value Object
- Entity
- Collection

Value Objects could be `Simple` or `Composite`.

Simple means that they contains only one primitive value (`string`, `int`, `bool`, `float`, `object`)

Composite, otherwise, that they have one or more value, that could be primitive, `SimpleValueObject`, another `CompositeValueObject`

Collections are "array" of Value Objects of the same type

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.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 ~5 days

Recently: every ~26 days

Total

30

Last Release

1790d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10b75e2cb39cb0beafd94238c476a67ea60b23b102eb66d5068138a1114baa08?d=identicon)[cnastasi](/maintainers/cnastasi)

---

Top Contributors

[![cnastasi](https://avatars.githubusercontent.com/u/2204693?v=4)](https://github.com/cnastasi "cnastasi (35 commits)")[![emnlmn](https://avatars.githubusercontent.com/u/32902406?v=4)](https://github.com/emnlmn "emnlmn (3 commits)")[![fabiov](https://avatars.githubusercontent.com/u/2004589?v=4)](https://github.com/fabiov "fabiov (2 commits)")[![walfhi](https://avatars.githubusercontent.com/u/14272071?v=4)](https://github.com/walfhi "walfhi (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cnastasi-ddd/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k532.1M19.2k](/packages/laravel-framework)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.1k91.3M277](/packages/laravel-horizon)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k53.0k12](/packages/magento-community-edition)[laravel/nightwatch

The official Laravel Nightwatch package.

3568.7M29](/packages/laravel-nightwatch)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M506](/packages/shopware-core)

PHPackages © 2026

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