├── .phpunit.result.cache ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── composer.json ├── nitpick.json └── src ├── CommandBus ├── BaseCommand.php ├── CommandBus.php ├── CommandHandlerMiddleWare.php ├── Exception │ ├── HandlerNotFound.php │ └── InvalidMiddlewareException.php ├── SimpleCommandHandlerResolver.php ├── SimpleCommandTranslator.php ├── composer.json └── readme.md ├── Contracts ├── CommandBus │ ├── Command.php │ ├── CommandBus.php │ ├── CommandBusMiddleware.php │ ├── CommandHandlerResolver.php │ └── CommandTranslator.php ├── Domain │ ├── DomainEventStream.php │ └── DomainMessage.php ├── EventBus │ ├── EventBus.php │ └── EventListener.php ├── EventDispatcher │ ├── EventDispatcher.php │ ├── Projection.php │ └── Subscriber.php ├── EventSourcing │ ├── AggregateRoot.php │ ├── Entity.php │ └── Event.php ├── EventStore │ └── EventStore.php ├── Projections │ └── ProjectionServiceProvider.php ├── Serialization │ ├── Serializable.php │ └── Serializer.php └── composer.json ├── Domain ├── DateTime.php ├── DomainEventStream.php ├── DomainMessage.php ├── Metadata.php ├── composer.json └── readme.md ├── EventBus ├── SimpleEventBus.php ├── composer.json └── readme.md ├── EventDispatcher ├── ProjectEnabledDispatcher.php ├── composer.json └── readme.md ├── EventSourcing ├── AggregateRoot.php ├── Entity.php ├── EventSourcedRepository.php ├── Exception │ ├── AggregateRootAlreadyRegistered.php │ └── NoAggregateRootRegistered.php └── composer.json ├── EventStore ├── DuplicateAggregatePlayhead.php ├── EventStreamNotFound.php └── composer.json └── Serialization ├── Exception └── SerializationException.php ├── ObjectSelfSerializer.php ├── README.md └── composer.json /.phpunit.result.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/.phpunit.result.cache -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/composer.json -------------------------------------------------------------------------------- /nitpick.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/nitpick.json -------------------------------------------------------------------------------- /src/CommandBus/BaseCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/CommandBus/BaseCommand.php -------------------------------------------------------------------------------- /src/CommandBus/CommandBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/CommandBus/CommandBus.php -------------------------------------------------------------------------------- /src/CommandBus/CommandHandlerMiddleWare.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/CommandBus/CommandHandlerMiddleWare.php -------------------------------------------------------------------------------- /src/CommandBus/Exception/HandlerNotFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/CommandBus/Exception/HandlerNotFound.php -------------------------------------------------------------------------------- /src/CommandBus/Exception/InvalidMiddlewareException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/CommandBus/Exception/InvalidMiddlewareException.php -------------------------------------------------------------------------------- /src/CommandBus/SimpleCommandHandlerResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/CommandBus/SimpleCommandHandlerResolver.php -------------------------------------------------------------------------------- /src/CommandBus/SimpleCommandTranslator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/CommandBus/SimpleCommandTranslator.php -------------------------------------------------------------------------------- /src/CommandBus/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/CommandBus/composer.json -------------------------------------------------------------------------------- /src/CommandBus/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/CommandBus/readme.md -------------------------------------------------------------------------------- /src/Contracts/CommandBus/Command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/CommandBus/Command.php -------------------------------------------------------------------------------- /src/Contracts/CommandBus/CommandBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/CommandBus/CommandBus.php -------------------------------------------------------------------------------- /src/Contracts/CommandBus/CommandBusMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/CommandBus/CommandBusMiddleware.php -------------------------------------------------------------------------------- /src/Contracts/CommandBus/CommandHandlerResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/CommandBus/CommandHandlerResolver.php -------------------------------------------------------------------------------- /src/Contracts/CommandBus/CommandTranslator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/CommandBus/CommandTranslator.php -------------------------------------------------------------------------------- /src/Contracts/Domain/DomainEventStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/Domain/DomainEventStream.php -------------------------------------------------------------------------------- /src/Contracts/Domain/DomainMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/Domain/DomainMessage.php -------------------------------------------------------------------------------- /src/Contracts/EventBus/EventBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/EventBus/EventBus.php -------------------------------------------------------------------------------- /src/Contracts/EventBus/EventListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/EventBus/EventListener.php -------------------------------------------------------------------------------- /src/Contracts/EventDispatcher/EventDispatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/EventDispatcher/EventDispatcher.php -------------------------------------------------------------------------------- /src/Contracts/EventDispatcher/Projection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/EventDispatcher/Projection.php -------------------------------------------------------------------------------- /src/Contracts/EventDispatcher/Subscriber.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/EventDispatcher/Subscriber.php -------------------------------------------------------------------------------- /src/Contracts/EventSourcing/AggregateRoot.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/EventSourcing/AggregateRoot.php -------------------------------------------------------------------------------- /src/Contracts/EventSourcing/Entity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/EventSourcing/Entity.php -------------------------------------------------------------------------------- /src/Contracts/EventSourcing/Event.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/EventSourcing/Event.php -------------------------------------------------------------------------------- /src/Contracts/EventStore/EventStore.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/EventStore/EventStore.php -------------------------------------------------------------------------------- /src/Contracts/Projections/ProjectionServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/Projections/ProjectionServiceProvider.php -------------------------------------------------------------------------------- /src/Contracts/Serialization/Serializable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/Serialization/Serializable.php -------------------------------------------------------------------------------- /src/Contracts/Serialization/Serializer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/Serialization/Serializer.php -------------------------------------------------------------------------------- /src/Contracts/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Contracts/composer.json -------------------------------------------------------------------------------- /src/Domain/DateTime.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Domain/DateTime.php -------------------------------------------------------------------------------- /src/Domain/DomainEventStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Domain/DomainEventStream.php -------------------------------------------------------------------------------- /src/Domain/DomainMessage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Domain/DomainMessage.php -------------------------------------------------------------------------------- /src/Domain/Metadata.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Domain/Metadata.php -------------------------------------------------------------------------------- /src/Domain/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Domain/composer.json -------------------------------------------------------------------------------- /src/Domain/readme.md: -------------------------------------------------------------------------------- 1 | # Smooth PHP Domain # 2 | 3 | This package is read only 4 | 5 | -------------------------------------------------------------------------------- /src/EventBus/SimpleEventBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventBus/SimpleEventBus.php -------------------------------------------------------------------------------- /src/EventBus/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventBus/composer.json -------------------------------------------------------------------------------- /src/EventBus/readme.md: -------------------------------------------------------------------------------- 1 | # Event Bus # 2 | 3 | This package is read only 4 | 5 | -------------------------------------------------------------------------------- /src/EventDispatcher/ProjectEnabledDispatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventDispatcher/ProjectEnabledDispatcher.php -------------------------------------------------------------------------------- /src/EventDispatcher/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventDispatcher/composer.json -------------------------------------------------------------------------------- /src/EventDispatcher/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventDispatcher/readme.md -------------------------------------------------------------------------------- /src/EventSourcing/AggregateRoot.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventSourcing/AggregateRoot.php -------------------------------------------------------------------------------- /src/EventSourcing/Entity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventSourcing/Entity.php -------------------------------------------------------------------------------- /src/EventSourcing/EventSourcedRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventSourcing/EventSourcedRepository.php -------------------------------------------------------------------------------- /src/EventSourcing/Exception/AggregateRootAlreadyRegistered.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventSourcing/Exception/AggregateRootAlreadyRegistered.php -------------------------------------------------------------------------------- /src/EventSourcing/Exception/NoAggregateRootRegistered.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventSourcing/Exception/NoAggregateRootRegistered.php -------------------------------------------------------------------------------- /src/EventSourcing/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventSourcing/composer.json -------------------------------------------------------------------------------- /src/EventStore/DuplicateAggregatePlayhead.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventStore/DuplicateAggregatePlayhead.php -------------------------------------------------------------------------------- /src/EventStore/EventStreamNotFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventStore/EventStreamNotFound.php -------------------------------------------------------------------------------- /src/EventStore/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/EventStore/composer.json -------------------------------------------------------------------------------- /src/Serialization/Exception/SerializationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Serialization/Exception/SerializationException.php -------------------------------------------------------------------------------- /src/Serialization/ObjectSelfSerializer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Serialization/ObjectSelfSerializer.php -------------------------------------------------------------------------------- /src/Serialization/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Serialization/README.md -------------------------------------------------------------------------------- /src/Serialization/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmoothPhp/CQRS-ES-Framework/HEAD/src/Serialization/composer.json --------------------------------------------------------------------------------