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

ActiveLibrary[Framework](/categories/framework)

kraken-php/runtime
==================

Kraken Framework Runtime Component.

v0.4.1(9y ago)41.6k14MITPHPPHP &gt;=5.6.7

Since Sep 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/kraken-php/runtime)[ Packagist](https://packagist.org/packages/kraken-php/runtime)[ Docs](http://kraken-php.com)[ RSS](/packages/kraken-php-runtime/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (10)Versions (9)Used By (4)

Kraken Runtime Component
========================

[](#kraken-runtime-component)

[![Build Status](https://camo.githubusercontent.com/af15010c36476fc4e6c49984421bf2b84750be2adc45fc8bebf1b90d9a7b52c3/68747470733a2f2f7472617669732d63692e6f72672f6b72616b656e2d7068702f6672616d65776f726b2e737667)](https://travis-ci.org/kraken-php/framework)[![Total Downloads](https://camo.githubusercontent.com/73922255fccf9fb9e22a41eb755a3bb95de9c4c2385e640b099deb5cccce7d71/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f72756e74696d652f646f776e6c6f616473)](https://packagist.org/packages/kraken-php/runtime)[![Latest Stable Version](https://camo.githubusercontent.com/88d762540c8b76768b233d978359a1b278db47b6fd50d022694f027dcfc89ed5/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f72756e74696d652f762f737461626c65)](https://packagist.org/packages/kraken-php/runtime)[![Latest Unstable Version](https://camo.githubusercontent.com/8ac56d97f1cd82fffd4a87949933485f54fed951e02d1e8bfccd30c2af07d138/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f72756e74696d652f762f756e737461626c65)](https://packagist.org/packages/kraken-php/runtime)[![License](https://camo.githubusercontent.com/7b3d640f212d4ca5dfa30751f70cef9fd309f7b19fdd33448b776f26fdfdd42f/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f6672616d65776f726b2f6c6963656e7365)](https://packagist.org/packages/kraken-php/framework)[![Kraken Compatible](https://camo.githubusercontent.com/1b4bd0ba007b4666bb6e1a081a7aeeafd8c9cfcaeab74fc4121ac3e353e3b51f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6b72616b656e2d636f6d70617469626c652d3662303261662e737667)](https://github.com/kraken-php/framework)

> **Note:** This repository is a part of [Kraken Framework](https://github.com/kraken-php/framework), but **can be used freely as standalone library**. If you are interested in more asynchronous components for PHP, check out the rest of [Kraken repository](https://github.com/kraken-php) or see our [asynchronous application skeleton](https://github.com/kraken-php/kraken) example.

Description
-----------

[](#description)

Runtime is component that provides container-based abstraction for Threads and Processes and means of managing and supervising children containers from its ancestor level.

Feature Highlights
------------------

[](#feature-highlights)

Runtime features:

- Container-based abstraction for Threads and Processes,
- Separation between standard and emergent flow of business logic inside single container,
- Command-based controls to pass orders between containers,
- Built-in Process local and remote managers,
- Built-in Thread local and remote managers,
- Built-in Runtime managers abstracting management of processes and threads,
- Supervision mechanisms with separation of local and remote errors,
- Supervision problem solvers,
- Kraken Framework compatibility,
- ...and more.

Examples
--------

[](#examples)

See more examples in [official documentation](http://kraken-php.com/docs/api-runtime).

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

[](#requirements)

- PHP-5.6 or PHP-7.0+,
- UNIX for multi-processing,
- PHP [Pthreads](http://php.net/manual/en/book.pthreads.php) extension enabled for multi-threading,

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

[](#installation)

```
composer require kraken-php/runtime

```

Tests
-----

[](#tests)

Tests are provided within our write-only [Framework repository](https://github.com/kraken-php/framework).

Documentation
-------------

[](#documentation)

Documentation for this module can be found in the [official documentation](http://kraken-php.com/docs/api-runtime).

Contributing
------------

[](#contributing)

This library is read-only subtree split of Kraken Framework. To make contributions, please go to [Framework repository](https://github.com/kraken-php/framework).

License
-------

[](#license)

This library licensed under the MIT license, see more information in [Kraken Framework](https://github.com/kraken-php/framework) license section.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.7% 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 ~34 days

Recently: every ~53 days

Total

8

Last Release

3340d ago

PHP version history (2 changes)v0.3.0PHP &gt;=5.5.9

v0.4.1PHP &gt;=5.6.7

### Community

Maintainers

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

---

Top Contributors

[![khelle](https://avatars.githubusercontent.com/u/5642657?v=4)](https://github.com/khelle "khelle (78 commits)")[![radarhere](https://avatars.githubusercontent.com/u/3112309?v=4)](https://github.com/radarhere "radarhere (1 commits)")

---

Tags

abstractionprocessserviceAgentruntimeThreadkrakenkraken-php

### Embed Badge

![Health badge](/badges/kraken-php-runtime/health.svg)

```
[![Health](https://phpackages.com/badges/kraken-php-runtime/health.svg)](https://phpackages.com/packages/kraken-php-runtime)
```

###  Alternatives

[cakephp/database

Flexible and powerful Database abstraction library with a familiar PDO-like API

9826.4M47](/packages/cakephp-database)[dazzle-php/socket

Dazzle Asynchronous Socket.

1913.1k5](/packages/dazzle-php-socket)

PHPackages © 2026

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