PHPackages                             kartenmacherei/cqrs-framework - 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. kartenmacherei/cqrs-framework

AbandonedArchivedLibrary[Framework](/categories/framework)

kartenmacherei/cqrs-framework
=============================

Micro framework for creating CQRS applications

v0.4(8y ago)41031MITPHPPHP &gt;=7.0.0

Since Feb 16Pushed 8y agoCompare

[ Source](https://github.com/kartenmacherei/cqrs-framework)[ Packagist](https://packagist.org/packages/kartenmacherei/cqrs-framework)[ Docs](https://bitbucket.org/kartenmacherei/cqrs-framework)[ RSS](/packages/kartenmacherei-cqrs-framework/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

CQRS Framework
==============

[](#cqrs-framework)

The goal of this framework is to enable us to quickly bootstrap new CQRS Services while sticking to our very strict coding guidelines. This especially means that any kind of magic should be avoided.

Components
----------

[](#components)

### Request

[](#request)

- Currently Supports only HTTP `get` and `post` verbs.

### PostRoute

[](#postroute)

- Determines if it is responsible for routing a given URL.
- Returns a `Command`

### Command

[](#command)

- Changes the state of a resource (like creating or updating)

### GetRoute

[](#getroute)

- Determines if it is responsible for routing a given URL.
- Returns a `Query`

### Query

[](#query)

- Does not change the state of a resource and only returns existing data.

Using the Framework
-------------------

[](#using-the-framework)

### Requirements

[](#requirements)

- Composer
- PHP 7.0+

### Add the Framework to your composer.json:

[](#add-the-framework-to-your-composerjson)

```
	"require": {
		"kartenmacherei/http-framework": "dev-master"
	}

```

### Connect your code to the Framework:

[](#connect-your-code-to-the-framework)

```
// create a request
$request = Request::fromSuperGlobals();

// create a new instance of the framework
$framework = Framework::createInstance();

// register a Request Route
$framework->registerPostRoute(new LoginRoute());
$framework->registerGetRoute(new WelcomeRoute());

// let the framework process the request
$response = $framework->run($request);

// send the response to the client
$response->flush();
```

License
-------

[](#license)

This software is licensed under the terms of the [MIT license](https://opensource.org/licenses/MIT). See LICENSE.md for the full license.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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 ~118 days

Total

3

Last Release

3184d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/de029409051bcffc2c4efe9e5392f7d90a19bcf6582124ac2813b934743746f6?d=identicon)[belanur](/maintainers/belanur)

![](https://avatars.githubusercontent.com/u/22746165?v=4)[leedwilkins](/maintainers/leedwilkins)[@leedwilkins](https://github.com/leedwilkins)

---

Top Contributors

[![leedwilkins](https://avatars.githubusercontent.com/u/22746165?v=4)](https://github.com/leedwilkins "leedwilkins (17 commits)")[![sebastianheuer](https://avatars.githubusercontent.com/u/169095?v=4)](https://github.com/sebastianheuer "sebastianheuer (1 commits)")

---

Tags

httpframeworkkartenmacherei

### Embed Badge

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

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

###  Alternatives

[hprose/hprose

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

2.0k219.1k37](/packages/hprose-hprose)[hprose/hprose-yii

Hprose Server for Yii 2

357.2k](/packages/hprose-hprose-yii)

PHPackages © 2026

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