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

ActiveLibrary

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

Async PHP framework built on ReactPHP and RxPHP

v0.1.0(1mo ago)00MITPHPPHP &gt;=8.2CI failing

Since Mar 11Pushed 1mo agoCompare

[ Source](https://github.com/pascualmg/cohete-framework)[ Packagist](https://packagist.org/packages/cohete/framework)[ RSS](/packages/cohete-framework/feed)WikiDiscussions main Synced 1mo 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

37

—

LowBetter than 82% of packages

Maintenance95

Actively maintained with recent releases

Popularity0

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

58d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fdaea59a5270792e1034ffae0de76e629d5b3fe82da40b94becb187f916b9cd5?d=identicon)[pascualmg](/maintainers/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

41.5k328.9k1](/packages/ccxt-ccxt)[team-reflex/discord-php

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

1.1k379.4k24](/packages/team-reflex-discord-php)[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.7k15.7k3](/packages/elgg-elgg)[clue/reactphp-eventsource

Instant real-time updates. Lightweight EventSource client receiving live messages via HTML5 Server-Sent Events (SSE). Fast stream processing built on top of ReactPHP's event-driven architecture.

5818.5k3](/packages/clue-reactphp-eventsource)[clue/docker-react

Async, event-driven access to the Docker Engine API, built on top of ReactPHP.

113154.9k1](/packages/clue-docker-react)[discord-php/http

Handles HTTP requests to Discord servers

25318.7k8](/packages/discord-php-http)

PHPackages © 2026

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