Skip to content

ecotoneframework/quickstart-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

353 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecotone Quickstart Examples

Runnable examples covering the full Ecotone feature set — handlers, aggregates, sagas, event sourcing, projections, workflows, multi-tenancy, outbox, and more. Each example is self-contained and runs end-to-end in seconds.

docker compose up -d && docker exec -it ecotone-quickstart /bin/bash

Then pick any example directory and run it:

composer install
php run_example.php

What's inside

  • Asynchronous#[Asynchronous] handlers with in-memory and DBAL channels
  • BuildingBlocks — the core handler/aggregate/saga vocabulary in one place
  • BusinessInterface — declarative DBAL queries via #[DbalBusinessMethod]
  • ErrorHandling — retry strategies, error channels, and dead letter replay
  • EventProjecting / PartitionedProjection — catch-up and partitioned projections on an event-sourced stream
  • EmittingEventsFromProjection — projections that publish derived events
  • Microservices / MicroservicesAdvanced — Distributed Bus with cross-service events and commands
  • MultiTenant — per-tenant connections, event stores, and async channels (Laravel + Symfony variants)
  • OutboxPattern — guaranteed message delivery via the outbox pattern
  • RefactorToReactiveSystem — staged refactor from a procedural service to a message-driven one
  • StatefulProjection — projections with internal state
  • TestingEcotoneLite::bootstrapFlowTesting patterns for sync and async flows
  • Workflows — stateless workflows, saga-based workflows, and async stateless variants
  • CustomEventStoreProjecting — custom event store implementations

Github Actions Latest Stable Version License Total Downloads PHP Version Require

Ecotone is the enterprise architecture layer for Laravel and Symfony.

One Composer package adds CQRS, Event Sourcing, Sagas, Projections, Workflows, and Outbox messaging to your existing application — all via declarative PHP 8 attributes on the classes you already have.

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.

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, DDD, CQRS, Event Sourcing, Sagas, Projections, Workflows, Outbox, Symfony, Laravel, Service Bus

About

Examples for Ecotone Quickstart

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE-ENTERPRISE

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors

Languages