PHPackages                             arseto/lumencqrs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. arseto/lumencqrs

ActiveLibrary[Framework](/categories/framework)

arseto/lumencqrs
================

CQRS Template for Laravel/Lumen

v0.3.0(8y ago)32002MITPHPPHP &gt;=5.6.4

Since Sep 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/arseto/lumencqrs)[ Packagist](https://packagist.org/packages/arseto/lumencqrs)[ RSS](/packages/arseto-lumencqrs/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a0617b21d992bdbbc8cdc11bfa8fc1cf85f77c2c47001de78c6693f2671c9721/68747470733a2f2f7777772e7472617669732d63692e6f72672f61727365746f2f6c756d656e637172732e7376673f6272616e63683d6d6173746572)](https://www.travis-ci.org/arseto/lumencqrs)

CQRS Template for Laravel\\Lumen
================================

[](#cqrs-template-for-laravellumen)

Overview
========

[](#overview)

- Implementation template for [CQRS](https://www.martinfowler.com/bliki/CQRS.html)
- Use laravel/lumen IoC container for dependency injection by default (or you can override it)

Prerequisite
============

[](#prerequisite)

- PHP 7.1
- [composer](https://getcomposer.org)
- [Laravel](https://laravel.com) or [lumen](https://lumen.laravel.com) framework installed

Installation
============

[](#installation)

- execute `composer require arseto/lumencqrs` in your project folder
- For lumen, add this line to the `bootstrap/app.php` file

```
$app->register(Arseto\LumenCQRS\Providers\CQRSServiceProvider::class);
```

- For laravel, add this line to 'providers' in `config/app.php`

```
Arseto\LumenCQRS\Providers\CQRSServiceProvider::class,
```

Usage
=====

[](#usage)

- This package serves as template to implement CQRS
- Simply create command-handler pair and query-reader pair then inject the CommandBus and QueryBus to your controller
- Command-handler and query-reader pair must implement provided interfaces

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

3207d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.6

v0.3.0PHP &gt;=5.6.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14993730?v=4)[Arseto Nugroho](/maintainers/arseto)[@arseto](https://github.com/arseto)

---

Top Contributors

[![arseto](https://avatars.githubusercontent.com/u/14993730?v=4)](https://github.com/arseto "arseto (12 commits)")

---

Tags

laravellumenddddomaincqrs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arseto-lumencqrs/health.svg)

```
[![Health](https://phpackages.com/badges/arseto-lumencqrs/health.svg)](https://phpackages.com/packages/arseto-lumencqrs)
```

###  Alternatives

[nwidart/laravel-broadway

A Laravel adapter for the Broadway ES/CQRS package.

12315.0k](/packages/nwidart-laravel-broadway)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21313.7k3](/packages/ecotone-laravel)[lushdigital/microservice-core

A set of core functionality and convenience classes for a Lumen microservice.

105.5k1](/packages/lushdigital-microservice-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
