morebec/orkestra-event-sourcing 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

morebec/orkestra-event-sourcing

Composer 安装命令:

composer require morebec/orkestra-event-sourcing

包简介

Orkestra component providing utilities and classes for implementing Event Sourcing

README 文档

README

The Event Sourcing Orkestra component provides utilities and classes for implementing Event Sourcing in a system Using PHP.

It can be seen as persistence agnostic library that serves as an abstraction over the concept of an Event Store. It also provides utilities for modeling Event Sourced Aggregate Roots in a DDD sense, as well as schema validation and migration tools through an upcasting pipeline. It also supports snapshotting and projections.

Note: Being an abstraction library, this component does not provide any concrete implementation of an Event Store (except for an in memory one used for testing), it simply provides the required interface to support the concepts. For an actual implementation this component can be used in tandem with the official companion component morebec/orkestra-postgresql-eventstore.

You are however, free to implement your own concrete storage implementation according to your system's technology stack. In that case you can refer yourself to the PostgreSQL implementation.

Features:

  • Event schema migrations through Upcasting
  • Modeling classes for Event Sourced Aggregate Roots
  • Projections support
  • Snapshotting

Need help? Have Question?

Create an issue or a discussion on the Orkestra Repository, we will be glad to help you as best as we can!

Getting Started

Install the component in your project through composer.

composer require morebec/orkestra-event-sourcing

Usage

For usage read the documentation

Reading from a Stream

Reading from a stream is also very simple:

统计信息

  • 总下载量: 470
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2021-04-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固