The Missing Enterprise Layer for PHPDecorative curve

CQRS, Event Sourcing, Workflows, and Production Resilience for Laravel and Symfony

Install with Composer · Configure with PHP Attributes · Works with your existing codebase

Where Ecotone Fits

Your framework stays.
Ecotone extends it.

Built For Your Stack

What Ecotone brings to your stack

You love Laravel's developer experience. Now add enterprise-grade CQRS, Event Sourcing, and Workflows with a single Composer package and PHP attributes — no framework change required.

Works with Eloquent & Doctrine
Laravel Queue integration
Zero config to start
Ecosystem

Enterprise Patterns Across Ecosystems

Every mature platform has this. Now PHP does too.

EcosystemFrameworkEnterprise PatternsCQRSEvent SourcingWorkflowsMessaging
JavaSpringAxon Framework
.NETASP.NETNServiceBus / MassTransit
PHPLaravel / SymfonyEcotone
See It In Action

Enterprise patterns with the simplicity of PHP attributes

OrderService.php
// Asynchronous command handler — that's the entire setup

#[Asynchronous('orders')]
#[CommandHandler]
public function placeOrder(PlaceOrder $command): void
{
    $order = Order::create($command->orderId, $command->items);
    $this->orderRepository->save($order);
}

// Ecotone handles the rest:
// ✓ Async execution via RabbitMQ / Kafka / SQS / DBAL
// ✓ Automatic retries on failure
// ✓ Dead letter queue if all retries fail
// ✓ Message tracing and correlation
⭐ 550+
GitHub Stars
Star us on GitHub →
550,000+
Packagist Downloads
View on Packagist →
9+
Years of Active Development

Ready to Get Started?Curve

Add Ecotone to your existing Laravel or Symfony project in minutes.

composer require ecotone/laravel
Gradient
DiscordTwitterSupport and ContactTelegram