PHP Classes

PHP Domain Driven Design Starter: Base classes to implement Domain Driven Design

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 112 All time: 9,612 This week: 560Up
Version License PHP version Categories
dddreveal 1.0.3MIT/X Consortium ...7Design Patterns, PHP 7
Description 

Author

This package provides base classes to implement Domain Driven Design.

It provides a collection of classes to start implementing applications that use the Domain Driven Design (DDD) and Command and Query Responsibility Segregation (CQRS) and ES (Event Sourcing).

Currently it provides classes for aggregates, events, object values, event store, commands, queries, services, dispatcher, listeners, message, event sourcing, etc..

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 Laudir Bispo
  Performance   Level  
Name: Laudir Bispo <contact>
Classes: 7 packages by
Country: Brazil Brazil
Age: 32
All time rank: 2247151 in Brazil Brazil
Week rank: 170 Up12 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 3x

Details

DDDReveal

Domain Driven Design starter package


  Files folder image Files (32)  
File Role Description
Files folder imagesrc (8 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 (32)  /  src  
File Role Description
Files folder imageAggregate (5 files)
Files folder imageCommands (3 files)
Files folder imageDispatcher (1 file)
Files folder imageEvents (9 files)
Files folder imageEventStore (1 file, 1 directory)
Files folder imageExceptions (1 file)
Files folder imageRepository (5 files)
Files folder imageValidators (3 files)

  Files folder image Files (32)  /  src  /  Aggregate  
File Role Description
  Plain text file Aggregable.php Class Class source
  Plain text file AggregateHistory.php Class Class source
  Plain text file AggregateIdentifier.php Class Class source
  Plain text file AggregateIsCorruptedException.php Class Class source
  Plain text file AggregateRoot.php Class Class source

  Files folder image Files (32)  /  src  /  Commands  
File Role Description
  Plain text file Commandable.php Class Class source
  Plain text file Commanding.php Class Class source
  Plain text file CommandValidator.php Class Class source

  Files folder image Files (32)  /  src  /  Dispatcher  
File Role Description
  Plain text file ListenerDispatcher.php Class Class source

  Files folder image Files (32)  /  src  /  Events  
File Role Description
  Plain text file AbstractEvent.php Class Class source
  Plain text file DomainEvent.php Class Class source
  Plain text file EventIsSourced.php Class Class source
  Plain text file EventListener.php Class Class source
  Plain text file EventSourceDisabledException.php Class Class source
  Plain text file EventStoreUnavailableException.php Class Class source
  Plain text file InvalidEventException.php Class Class source
  Plain text file ReconstituteEvents...ilableException.php Class Class source
  Plain text file RecordedEvents.php Class Class source

  Files folder image Files (32)  /  src  /  EventStore  
File Role Description
Files folder imagePDO (1 file)
  Plain text file EventStore.php Class Class source

  Files folder image Files (32)  /  src  /  EventStore  /  PDO  
File Role Description
  Plain text file PDOEventStore.php Class Class source

  Files folder image Files (32)  /  src  /  Exceptions  
File Role Description
  Plain text file StorageException.php Class Class source

  Files folder image Files (32)  /  src  /  Repository  
File Role Description
  Plain text file AbstractRepository.php Class Class source
  Plain text file BaseProjection.php Class Class source
  Plain text file Projectable.php Class Class source
  Plain text file QueryRepository.php Class Class source
  Plain text file Repository.php Class Class source

  Files folder image Files (32)  /  src  /  Validators  
File Role Description
  Plain text file Assert.php Class Class source
  Plain text file AssertionValidationTrait.php Class Class source
  Plain text file UuidValidator.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloaddddreveal-2020-07-08.zip 22KB
Downloaddddreveal-2020-07-08.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Get PHP Class Name Download .zip .tar.gz ... Required
 Version Control Unique User Downloads Download Rankings  
 100%
Total:112
This week:0
All time:9,612
This week:560Up