PHPackages                             php-design-pattern/cqrs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. php-design-pattern/cqrs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

php-design-pattern/cqrs
=======================

Basic classes and interfaces for the design pattern CQRS

8.1.1(3y ago)0221BSD-3-ClausePHPPHP ^8.1.0

Since Sep 17Pushed 3y agoCompare

[ Source](https://github.com/php-design-pattern/cqrs)[ Packagist](https://packagist.org/packages/php-design-pattern/cqrs)[ Docs](https://github.com/php-design-pattern/cqrs)[ RSS](/packages/php-design-pattern-cqrs/feed)WikiDiscussions 8.1.x Synced 1mo ago

READMEChangelogDependencies (4)Versions (7)Used By (1)

Design Pattern - CQRS (Command Query Responsibility Segregation)
================================================================

[](#design-pattern---cqrs-command-query-responsibility-segregation)

Basic classes and interfaces for the CQRS Design Pattern. This module provides the minimum classes and interfaces to implement and use the CQRS pattern.

Installation
------------

[](#installation)

For PHP 5.6

- Add in the `require` section of the `composer.json` file the line `"php-design-pattern/cqrs": "^5.6"`

For PHP 8.0

- Add in the `require` section of the `composer.json` file the line `"php-design-pattern/cqrs": "^8.0"`

For PHP 8.1

- Add in the `require` section of the `composer.json` file the line `"php-design-pattern/cqrs": "^8.1"`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

7

Last Release

1334d ago

Major Versions

1.0.0 → 7.2.x-dev2022-09-17

7.2.x-dev → 8.1.02022-09-18

PHP version history (4 changes)1.0.0PHP ^7.3 || ~8.0.0

7.2.x-devPHP ^7.2.0

8.1.0PHP ^8.1.0

8.0.x-devPHP ^8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/12bb1d3b51340daa0f19c946f2ba7d3e4b277854fc722409809d0e43845fe0de?d=identicon)[garygitton](/maintainers/garygitton)

---

Top Contributors

[![garygitton](https://avatars.githubusercontent.com/u/3704874?v=4)](https://github.com/garygitton "garygitton (14 commits)")

---

Tags

interfacedesign patterncqrscontractbasic classes

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/php-design-pattern-cqrs/health.svg)

```
[![Health](https://phpackages.com/badges/php-design-pattern-cqrs/health.svg)](https://phpackages.com/packages/php-design-pattern-cqrs)
```

###  Alternatives

[nette/robot-loader

🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.

89352.7M321](/packages/nette-robot-loader)[league/pipeline

A plug and play pipeline implementation.

1.0k16.0M74](/packages/league-pipeline)[prooph/service-bus

PHP Enterprise Service Bus Implementation supporting CQRS and DDD

4421.4M32](/packages/prooph-service-bus)[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[getsolaris/laravel-make-service

A MVCS pattern create a service command for Laravel 5+

81161.3k](/packages/getsolaris-laravel-make-service)

PHPackages © 2026

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