PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (36)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 43 This week: 1All time: 10,783 This week: 560Up
Version License PHP version Categories
ddd-common 1.0.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
Number 9
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
  Performance   Level  
Name: Cydrick Nonog <contact>
Classes: 2 packages by
Country: Philippines Philippines
Age: ???
All time rank: 443637 in Philippines Philippines
Week rank: 416 Up5 in Philippines Philippines Up
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 folder image Files  
File Role Description
Files folder imagesrc (7 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageCommand (3 files)
Files folder imageDomain (4 files, 2 directories)
Files folder imageEventSourcing (3 files, 1 directory)
Files folder imageEventStore (6 files, 1 directory)
Files folder imageQuery (3 files)
Files folder imageReadModel (6 files)
Files folder imageSerializer (1 file)

  Files folder image Files  /  src  /  Command  
File Role Description
  Plain text file AbstractCommandHandler.php Class Class source
  Plain text file CommandBusInterface.php Class Class source
  Plain text file CommandHandlerInterface.php Class Class source

  Files folder image Files  /  src  /  Domain  
File Role Description
Files folder imageEvent (1 file)
Files folder imageValueObject (3 files)
  Plain text file AbstractDomain.php Class Class source
  Plain text file DomainCollectionInterface.php Class Class source
  Plain text file DomainInterface.php Class Class source
  Plain text file DomainMapperInterface.php Class Class source

  Files folder image Files  /  src  /  Domain  /  Event  
File Role Description
  Plain text file DomainEventInterface.php Class Class source

  Files folder image Files  /  src  /  Domain  /  ValueObject  
File Role Description
  Plain text file DomainId.php Class Class source
  Plain text file DomainIdInterface.php Class Class source
  Plain text file StringObject.php Class Class source

  Files folder image Files  /  src  /  EventSourcing  
File Role Description
Files folder imageExceptions (1 file)
  Plain text file EventSourcedRepositoryInterface.php Class Class source
  Plain text file EventSourceInterface.php Class Class source
  Plain text file EventSourceTrait.php Class Class source

  Files folder image Files  /  src  /  EventSourcing  /  Exceptions  
File Role Description
  Plain text file ClassIsNotEventSourcedException.php Class Class source

  Files folder image Files  /  src  /  EventStore  
File Role Description
Files folder imageExceptions (2 files)
  Plain text file EventMessage.php Class Class source
  Plain text file EventMeta.php Class Class source
  Plain text file EventStoreInterface.php Class Class source
  Plain text file Stream.php Class Class source
  Plain text file StreamName.php Class Class source
  Plain text file TransactionalEventStoreInterface.php Class Class source

  Files folder image Files  /  src  /  EventStore  /  Exceptions  
File Role Description
  Plain text file StreamNotFoundException.php Class Class source
  Plain text file UnableToAppendEventException.php Class Class source

  Files folder image Files  /  src  /  Query  
File Role Description
  Plain text file AbstractQueryHandler.php Class Class source
  Plain text file QueryBusInterface.php Class Class source
  Plain text file QueryHandlerInterface.php Class Class source

  Files folder image Files  /  src  /  ReadModel  
File Role Description
  Plain text file AbstractReadModel.php Class Class source
  Plain text file AbstractReadModelEventHandler.php Class Class source
  Plain text file AbstractReadModelIterator.php Class Class source
  Plain text file ReadModelEventHandlerInterface.php Class Class source
  Plain text file ReadModelInterface.php Class Class source
  Plain text file ReadModelRepositoryInterface.php Class Class source

  Files folder image Files  /  src  /  Serializer  
File Role Description
  Plain text file Serializable.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:43
This week:1
All time:10,783
This week:560Up