PHP Domain Driven Design Common Interfaces: Provide interfaces to implement DDD, CQRS and ES

Recommend this page to a friend!
  Info   View files (36)   Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-07-06 (27 days ago) Not yet rated by the usersTotal: 28 All time: 9,950 This week: 257
Version License PHP version Categories
ddd-common 1.0Custom (specified...5PHP 5, Design Patterns
Description Author

This package can provide interfaces to implement DDD, CQRS and ES.

It provides a collections of interfaces that can be used by applications to implement Domain Driven Design, Command and Query Responsibility Segregation and Event Sourcing.

Currently it provides abstract interfaces for defining objects related with:

- Commands
- Domain
- Event Sourcing
- Event Store
- Query
- Read Model
- Serializer

Innovation Award
PHP Programming Innovation award nominee
July 2020
Nominee
Vote
Domain Driven Design (DDD) is a concept for defining an approach to map abstract project concepts into a concrete implementation of software projects on which the abstract entities are mapped to specific concrete classes and interfaces.

Command and Query Responsibility Segregation (CQRS) is a pattern that defines that there may be different model objects that can be used to update the information that is necessary to store the model information.

Event Sourcing (ES) is an approach to keep track about the changes in the state of an application as a sequence of events.

This package provides abstract interfaces for defining objects to implement Domain Driven Design, Command and Query Responsibility Segregation and Event Sourcing in PHP.

Manuel Lemos
Picture of Cydrick Nonog
Name: Cydrick Nonog <contact>
Classes: 2 packages by
Country: Philippines Philippines
Age: ???
All time rank: 434737 in Philippines Philippines
Week rank: 80 1 in Philippines Philippines
Innovation award
Innovation award
Nominee: 2x

Details

DDD Common

PHP from Packagist Software License

PHP Interfaces provider for DDD, CQRS and ES.

Installation

compose require cydrickn/ddd-common

Usage

For usage you can view the repo https://github.com/cydrickn/symfony-ddd-cqrs-es

Licence

MIT, see LICENSE.

  Files  
File Role Description
src (7 directories)
composer.json Data Auxiliary data
LICENSE Lic. License text
README.md Doc. Documentation

  Files  /  src  
File Role Description
Command (3 files)
Domain (4 files, 2 directories)
EventSourcing (3 files, 1 directory)
EventStore (6 files, 1 directory)
Query (3 files)
ReadModel (6 files)
Serializer (1 file)

  Files  /  src  /  Command  
File Role Description
   AbstractCommandHandler.php Class Class source
   CommandBusInterface.php Class Class source
   CommandHandlerInterface.php Class Class source

  Files  /  src  /  Domain  
File Role Description
Event (1 file)
ValueObject (3 files)
   AbstractDomain.php Class Class source
   DomainCollectionInterface.php Class Class source
   DomainInterface.php Class Class source
   DomainMapperInterface.php Class Class source

  Files  /  src  /  Domain  /  Event  
File Role Description
   DomainEventInterface.php Class Class source

  Files  /  src  /  Domain  /  ValueObject  
File Role Description
   DomainId.php Class Class source
   DomainIdInterface.php Class Class source
   StringObject.php Class Class source

  Files  /  src  /  EventSourcing  
File Role Description
Exceptions (1 file)
   EventSourcedRepositoryInterface.php Class Class source
   EventSourceInterface.php Class Class source
   EventSourceTrait.php Class Class source

  Files  /  src  /  EventSourcing  /  Exceptions  
File Role Description
   ClassIsNotEventSourcedException.php Class Class source

  Files  /  src  /  EventStore  
File Role Description
Exceptions (2 files)
   EventMessage.php Class Class source
   EventMeta.php Class Class source
   EventStoreInterface.php Class Class source
   Stream.php Class Class source
   StreamName.php Class Class source
   TransactionalEventStoreInterface.php Class Class source

  Files  /  src  /  EventStore  /  Exceptions  
File Role Description
   StreamNotFoundException.php Class Class source
   UnableToAppendEventException.php Class Class source

  Files  /  src  /  Query  
File Role Description
   AbstractQueryHandler.php Class Class source
   QueryBusInterface.php Class Class source
   QueryHandlerInterface.php Class Class source

  Files  /  src  /  ReadModel  
File Role Description
   AbstractReadModel.php Class Class source
   AbstractReadModelEventHandler.php Class Class source
   AbstractReadModelIterator.php Class Class source
   ReadModelEventHandlerInterface.php Class Class source
   ReadModelInterface.php Class Class source
   ReadModelRepositoryInterface.php Class Class source

  Files  /  src  /  Serializer  
File Role Description
   Serializable.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:28
This week:0
All time:9,950
This week:257

For more information send a message to info at phpclasses dot org.