zenbox / ddd
Domain Driven Design in PHP
1.1.1
2022-04-02 15:47 UTC
Requires
- php: ^8.1
- beberlei/assert: ^3.3
- laminas/laminas-code: ^4.5
- ramsey/uuid: ^4.3
Requires (Dev)
- phpunit/phpunit: ^9.5
Suggests
- zenbox/doctrine: Provides Doctrine ORM pack
This package is auto-updated.
Last update: 2024-10-30 01:42:42 UTC
README
Domain Driven Design in PHP
- Assert beberlei/assert
- UuidIdentifier ramsey/uuid
- Command
- Query
- Specification
Installation
Using Composer:
composer require zenbox/ddd
Examples
See example/ for some examples.
Doctrine UUID type
Add Doctrine custom type uuid
<?php use ZenBox\Ddd\Infrastructure\Persistence\Doctrine\UuidType; Type::addType(UuidType::NAME, UuidType::class);