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

ActiveLibrary[Framework](/categories/framework)

cohete/framework
================

Async PHP framework built on ReactPHP and RxPHP

v0.1.0(3mo ago)01MITPHPPHP &gt;=8.2CI failing

Since Mar 12Pushed 3mo agoCompare

[ Source](https://github.com/pascualmg/cohete-framework)[ Packagist](https://packagist.org/packages/cohete/framework)[ RSS](/packages/cohete-framework/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (12)Versions (8)Used By (0)

cohete/framework
================

[](#coheteframework)

[![CI](https://github.com/pascualmg/cohete-framework/actions/workflows/ci.yml/badge.svg)](https://github.com/pascualmg/cohete-framework/actions/workflows/ci.yml)

Async PHP framework built on ReactPHP and RxPHP. ~600 LOC.

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

[](#installation)

```
composer require cohete/framework
```

What's included
---------------

[](#whats-included)

- **Kernel** - HTTP request dispatcher with FastRoute
- **Router** - JSON-based route definitions
- **ReactHttpServer** - Non-blocking HTTP server on ReactPHP
- **ContainerFactory** - PHP-DI container with sensible defaults
- **MessageBus** - Async event bus (EventBus, CommandBus, QueryBus)
- **JsonResponse** - Response factory for JSON APIs
- **Middleware** - Request/Response dumpers for debugging

Quick start
-----------

[](#quick-start)

```
$container = ContainerFactory::create([
    TodoRepository::class => fn() => new InMemoryTodoRepository(),
]);

$kernel = new Kernel($container, __DIR__ . '/routes.json');

ReactHttpServer::init(
    host: '0.0.0.0',
    port: '8080',
    kernel: $kernel,
    loop: Loop::get(),
);
```

See [cohete/skeleton](https://github.com/pascualmg/cohete-skeleton) for a full working example.

License
-------

[](#license)

MIT

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance81

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

103d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11436672?v=4)[Pascual Muñoz ](/maintainers/pascualmg)[@pascualmg](https://github.com/pascualmg)

---

Top Contributors

[![google-labs-jules[bot]](https://avatars.githubusercontent.com/in/842251?v=4)](https://github.com/google-labs-jules[bot] "google-labs-jules[bot] (3 commits)")[![pascualmg](https://avatars.githubusercontent.com/u/11436672?v=4)](https://github.com/pascualmg "pascualmg (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

42.9k337.6k1](/packages/ccxt-ccxt)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k16.2k44](/packages/elgg-elgg)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k406.5k25](/packages/team-reflex-discord-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)

PHPackages © 2026

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