PHPackages                             thetis20/notification-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. thetis20/notification-domain

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

thetis20/notification-domain
============================

domain of notification application

1.0.1(1y ago)03MITPHPPHP &gt;=8.3.12

Since Jan 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/thetis20/notification-domain)[ Packagist](https://packagist.org/packages/thetis20/notification-domain)[ RSS](/packages/thetis20-notification-domain/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (7)Versions (3)Used By (0)

Notification
============

[](#notification)

Context
-------

[](#context)

This project is an application designed to explore concepts such as Clean Architecture, Test-Driven Development (TDD), Domain-Driven Design (DDD), and Hexagonal Architecture. These approaches aim to produce maintainable, scalable, and testable code.

Technologies
------------

[](#technologies)

- **PHP** : Programming language used for business logic.
- **Composer** : Dependency manager for PHP.
- **PHPUnit** : Tool for unit testing.
- **Docker** : Containerization platform to simplify application execution and isolation.

Key Concepts
------------

[](#key-concepts)

### 1. Clean Architecture

[](#1-clean-architecture)

Clean Architecture is a set of principles designed to organize code in a way that it is independent of frameworks, databases, and user interfaces. It enables:

- Separation of concerns.
- Easier testing.
- More comprehensible and maintainable code.

### 2. Test-Driven Development (TDD)

[](#2-test-driven-development-tdd)

TDD is a development methodology based on writing tests before coding the functionality. The process follows three steps:

- Write a test that fails.
- Write the minimum code necessary to make the test pass.
- Refactor the code while ensuring the tests still pass.

TDD improves code quality and reduces the number of bugs.

### 3. Domain-Driven Design (DDD)

[](#3-domain-driven-design-ddd)

DDD is a software design approach focusing on the business domain. It encourages collaboration between developers and domain experts to:

- Model the domain effectively.
- Use a common language.
- Structure code around business concepts.

### 4. Hexagonal Architecture

[](#4-hexagonal-architecture)

Hexagonal Architecture, or Ports and Adapters Architecture, separates the core application logic from external interactions (UI, databases, APIs, etc.). It allows:

- Easier testing of the application core.
- Replacement of external components without impacting business logic.
- Simplified application evolution.

Installation and Usage
----------------------

[](#installation-and-usage)

This project composer

1. Clone the repository:

    ```
    git clone git@github.com:thetis20/notification-domain.git
    cd notification-domain
    ```
2. Install composer dependencies:

    ```
    composer install
    ```
3. Run tests

    ```
    composer run-script tests
    ```

Class Diagram
-------------

[](#class-diagram)

 ```
---
title: Notification Domain
---
classDiagram
   class User {
      -string id
      -string usualName
      -Email email
      -?Phone phone
      +getId(): string
      +getUsualName(): string
      +getEmail(): Email
      +getPhone(): ?Phone
      +jsonSerialize(): array
   }
   class Notification {
      -Uuid id
      -array to
      -string key
      -DateTime date
      -array params
      -int status
      +getId(): Uuid
      +getTo(): array
      +getKey(): string
      +getDate(): DateTime
      +getParams(): array
      +getStatus(): int
      +jsonSerialize(): array
   }
```

      Loading License
-------

[](#license)

This project is licensed under the MIT License. Please refer to the LICENSE file for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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 ~0 days

Total

2

Last Release

549d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/117259022?v=4)[Arnaud Picard](/maintainers/thetis20)[@thetis20](https://github.com/thetis20)

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[symfony/ai-platform

PHP library for interacting with AI platform provider.

521.4M291](/packages/symfony-ai-platform)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

12310.5M135](/packages/web-auth-webauthn-lib)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

515100.5k3](/packages/web-auth-webauthn-framework)

PHPackages © 2026

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