定制 ecotone/pdo-event-sourcing 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ecotone/pdo-event-sourcing

最新稳定版本:1.316.1

Composer 安装命令:

composer require ecotone/pdo-event-sourcing

包简介

PDO-backed Event Store for Ecotone — event-sourced aggregates, event-sourced sagas (durable workflows), projections, upcasting, and streaming projections (Kafka, RabbitMQ) on PostgreSQL or MySQL.

README 文档

README

To contribute make use of Ecotone-Dev repository.

Github Actions Latest Stable Version License Total Downloads PHP Version Require

Ecotone is the PHP architecture layer that grows with your system — without rewrites.

From #[CommandHandler] on day one, to event sourcing, sagas, outbox, and distributed messaging at scale — one package, same codebase, no forced migrations between growth stages. Declarative PHP 8 attributes on the classes you already have.

Event Sourcing (PDO-backed Event Store)

Full Event Sourcing support for Ecotone, backed by your relational database via PDO. Event-sourced aggregates, projections, upcasting, and replay — all driven by attributes on your existing classes.

  • Event-sourced aggregates via #[EventSourcingAggregate] — one attribute flips state-stored to event-sourced
  • Event-sourced sagas via #[EventSourcingSaga]durable workflows where every state transition is a replayable event in your database
  • Projections via #[Projection] — catch-up, reset, partition, and streaming variants
  • Event versioning and upcasting — evolve your event schema without rewriting history
  • Streaming Projections — process events in real-time with Message Broker transport
  • PostgreSQL and MySQL supported out of the box

Same testing story as the rest of Ecotone: spin up the event store in memory with EcotoneLite::bootstrapFlowTesting, replay events into your projections, and assert on results — no external infrastructure required.

Visit ecotone.tech to learn more.

Works with Symfony, Laravel, or any PSR-11 framework via Ecotone Lite.

Getting started

See the quickstart guide and reference documentation. Read more on the Ecotone Blog.

AI-Ready documentation

Ecotone ships with MCP server, Agentic Skills, and LLMs.txt for any coding agent. See the AI Integration Guide.

Feature requests and issue reporting

Use issue tracking system for new feature request and bugs. Please verify that it's not already reported by someone else.

Contact

If you want to talk or ask questions about Ecotone

Support Ecotone

If you want to help building and improving Ecotone consider becoming a sponsor:

Tags

PHP, Event Sourcing, Event Store, Projections, Event-Sourced Sagas, Durable Workflows, CQRS, DDD, PostgreSQL, MySQL, Ecotone

统计信息

  • 总下载量: 176.1k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 18
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2021-03-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固