New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.
350,126 22
Install
composer require ecotone/laravel
Latest Version:1.328.2
Laravel:9 – 13
Older releases:7 · 8
License:Apache-2.0 or proprietary
Last Updated:Oct 19, 2026
Links: GitHub  ·  Packagist
Maintainer: dgafka

This is Read Only Repository

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.

Ecotone for Laravel

Laravel handles HTTP beautifully. But the moment you need Event Sourcing, Sagas, or multi-step workflows, you're stitching packages together. Ecotone gives you one coherent toolkit — Aggregates, Projections, Outbox, and more — all attribute-driven, all testable in-process, all running on the Laravel queues you already have.

  • Works with Eloquent and Doctrine
  • Laravel Queue integration — use your existing queue drivers
  • Auto-discovery — zero config to start
  • Artisan commands for async consumers and projections
composer require ecotone/laravel

See the Laravel integration guide for setup and configuration details.

Visit ecotone.tech to learn more.

Ecotone also works with Symfony and 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, Laravel, Eloquent, DDD, CQRS, Event Sourcing, Sagas, Projections, Durable Workflows, Workflows, Outbox, Service Bus, Laravel Queue

Related Packages

luminor/luminor

A modern, open-source DDD framework for building REST APIs and domain-driven app...

12 0
elber/laravel-clean-architecture

DDD + Clean Architecture scaffolding for Laravel

1,315 3
arseto/lumencqrs

CQRS Template for Laravel/Lumen

200 3
nwidart/laravel-broadway

A Laravel adapter for the Broadway ES/CQRS package.

15,023 123
tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context,...

10,165 21

Version History

Version Released Laravel License
1.328.2 ^9.5.2|^10.0|^11.0|^12.0|^13.0 Apache-2.0 or proprietary
1.328.1 ^9.5.2|^10.0|^11.0|^12.0|^13.0 Apache-2.0 or proprietary
1.328.0 ^9.5.2|^10.0|^11.0|^12.0|^13.0 Apache-2.0 or proprietary
1.327.0 ^9.5.2|^10.0|^11.0|^12.0|^13.0 Apache-2.0 or proprietary
1.326.2 ^9.5.2|^10.0|^11.0|^12.0|^13.0 Apache-2.0 or proprietary
Pre-releases (7)
Version Released Laravel License
2.0.0-beta.6 ^11.0|^12.0|^13.0 Apache-2.0 or proprietary
2.0.0-beta.5 ^11.0|^12.0|^13.0 Apache-2.0 or proprietary
2.0.0-beta.4 ^11.0|^12.0|^13.0 Apache-2.0 or proprietary
2.0.0-beta.3 ^11.0|^12.0|^13.0 Apache-2.0 or proprietary
2.0.0-beta.2 ^11.0|^12.0|^13.0 Apache-2.0 or proprietary