# CodelyTV DDD Example

🔷🎯 TypeScript DDD Example: Complete project applying Hexagonal Architecture and Domain-Driven Design patterns

Repository: https://github.com/CodelyTV/typescript-ddd-example
Canonical: https://ross.abutalabs.com/products/codelytv-ddd-example
Homepage: https://pro.codely.tv/library/ddd-typescript/375662/about/
Language: TypeScript
License Family: other
Topics: ddd, typescript, cqrs, ddd-architecture, ddd-example, ddd-cqrs, dddesign, hexagonal-architecture, javascript, codely, codelytv, domain-driven-design, nodejs, software-architecture, ddd-sample, ts, eda, event-driven-architecture, mongodb, rabbitmq
Last push: 2024-08-20T07:07:47+00:00
Link (homepage): https://pro.codely.tv/library/ddd-typescript/375662/about/

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2567, "days_push": 743, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1478, forks 233 (observed 2026-08-28T04:04:50.569506+00:00)

## What it is
An example reference application by CodelyTV demonstrating Domain-Driven Design, Hexagonal Architecture, and CQRS in PHP with Symfony 7 (with a TypeScript counterpart repo). It models a MOOC platform split into bounded contexts and is intended as a learning resource for architectural patterns.

## Use cases
- learn domain-driven design in php
- example of hexagonal architecture with symfony
- how to implement cqrs in php
- reference project for ddd bounded contexts
- study php project structure with behat and phpunit
- template for decoupling code from framework

## When to choose
- you want a well-known, actively maintained reference implementation of DDD/CQRS in PHP
- you are learning hexagonal architecture alongside Codely courses
- you need a realistic multi-context monorepo example with tests

## When to avoid
- you need a production-ready framework or library to drop into your app
- you want a licensed reusable codebase (no license is specified)
- you work outside PHP/TypeScript stacks

## Facets
- artifact type: learning-resource
- maturity: active
- function: web-framework, testing, middleware
- domain: web-development, backend, developer-tools, tutorials
- platform: php, self-hosted
- tags: ddd, cqrs, hexagonal-architecture, symfony, example-project, bounded-context, monorepo, typescript, docker

## Member repositories
- CodelyTV/typescript-ddd-example (main) score 32
- CodelyTV/php-ddd-example (examples) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:50.569506+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:25:56.316199+00:00, confidence not recorded.
  - readme: https://github.com/CodelyTV/typescript-ddd-example (fetched 2026-08-28T04:04:50.569506+00:00, sha 0e74168adb7b)
  - homepage: https://pro.codely.tv/library/ddd-typescript/375662/about/ (fetched 2026-08-29T09:40:55.451919+00:00, sha 5e9148c0ced2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
