PHPackages                             molibdenius/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. [Framework](/categories/framework)
4. /
5. molibdenius/cqrs

ActiveLibrary[Framework](/categories/framework)

molibdenius/cqrs
================

CQRS library

029PHP

Since Mar 6Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/MolibdeniusRU/CQRS)[ Packagist](https://packagist.org/packages/molibdenius/cqrs)[ RSS](/packages/molibdenius-cqrs/feed)WikiDiscussions development Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

CQRS Library
============

[](#cqrs-library)

[![PHP Version](https://camo.githubusercontent.com/7e80c5a44b0f819258f09384c7af693fe7f3f1ebe4ae8c6833b5c34f2dd57d03/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e332d3838393242462e737667)](https://php.net/)[![Latest Version](https://camo.githubusercontent.com/0c32b31cdf509fc9b75b40d3850922101d27a3130478adf63ca6ed02f8f7887c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f6c696264656e6975732f637172732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/molibdenius/cqrs)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

A modern PHP 8.3+ implementation of the Command Query Responsibility Segregation (CQRS) pattern, built with performance and scalability in mind.

✨ Features
----------

[](#-features)

- 🚀 **HTTP and Queue-based Command Processing**
- 🔄 **Asynchronous Task Processing** with RoadRunner
- 📦 **Dependency Injection** with PSR-11 Container
- 🎯 **Event-Driven Architecture** using Symfony Event Dispatcher
- 🌐 **PSR-7/PSR-17 HTTP Messages** for request/response handling
- 🛠 **Built-in Retry Mechanism** for failed tasks
- 📊 **Logging** with PSR-3 compatible loggers
- 🧪 **Strict Types** and modern PHP 8.3+ features

📋 Requirements
--------------

[](#-requirements)

- PHP 8.3 or higher
- RoadRunner
- Composer

🚀 Installation
--------------

[](#-installation)

```
composer require molibdenius/cqrs
```

🏗 Project Structure
-------------------

[](#-project-structure)

```
src/
├── ActionBus/         # Command/Query bus implementation
├── Dispatcher/        # HTTP and Queue dispatchers
├── Event/             # Event classes and subscribers
├── EventLoop/         # Event loop implementations
├── Exception/         # Custom exceptions
├── Registry/          # Action and handler registry
└── Result/            # Result objects

```

📄 License
---------

[](#-license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

📧 Contact
---------

[](#-contact)

- Email:

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b41061808469658aaafb02ab7c821849f71413275a8150726e235dc82892c2a?d=identicon)[molibdenius](/maintainers/molibdenius)

---

Top Contributors

[![MolibdeniusRU](https://avatars.githubusercontent.com/u/96783670?v=4)](https://github.com/MolibdeniusRU "MolibdeniusRU (8 commits)")

### Embed Badge

![Health badge](/badges/molibdenius-cqrs/health.svg)

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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