PHPackages                             rokke/runtime - 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. rokke/runtime

ActiveLibrary[Framework](/categories/framework)

rokke/runtime
=============

Rokke Runtime – A persistent, coroutine-driven execution platform for modern PHP applications. The foundation of the Rokke Framework.

00PHPCI passing

Since Jun 27Pushed todayCompare

[ Source](https://github.com/rokke-php/runtime)[ Packagist](https://packagist.org/packages/rokke/runtime)[ RSS](/packages/rokke-runtime/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Rokke Runtime
=============

[](#rokke-runtime)

Persistent, coroutine-driven execution platform for modern PHP applications. Foundation of the Rokke Framework.

Features
--------

[](#features)

- **Coroutine-Driven**: Built on Swoole for non-blocking, concurrent execution
- **Module System**: Pluggable, composable application modules
- **Event Bus**: Publish-subscribe event handling across application
- **Pipeline Architecture**: Handler chains for processing requests
- **Resource Management**: Lifecycle-aware resource pooling and cleanup
- **Service Container**: PSR-11 compatible dependency injection
- **Context Management**: Request-scoped context propagation
- **Diagnostics**: Built-in monitoring, timing, and observability
- **Signal Handling**: OS signal handling and graceful shutdown
- **Worker Management**: Multi-worker orchestration with supervisor

Requirements
------------

[](#requirements)

- PHP 8.4+
- Swoole Extension
- Composer

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

[](#installation)

```
composer require rokke/runtime
```

Quick Start
-----------

[](#quick-start)

```
