kraken-php/runtime

Kraken Framework Runtime Component.

v0.4.1 2017-05-11 20:36 UTC

This package is not auto-updated.

Last update: 2024-03-16 16:31:04 UTC


README

Build Status Total Downloads Latest Stable Version Latest Unstable Version License Kraken Compatible

Note: This repository is a part of Kraken 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 or see our asynchronous application skeleton example.

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

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

See more examples in official documentation.

Requirements

  • PHP-5.6 or PHP-7.0+,
  • UNIX for multi-processing,
  • PHP Pthreads extension enabled for multi-threading,

Installation

composer require kraken-php/runtime

Tests

Tests are provided within our write-only Framework repository.

Documentation

Documentation for this module can be found in the official documentation.

Contributing

This library is read-only subtree split of Kraken Framework. To make contributions, please go to Framework repository.

License

This library licensed under the MIT license, see more information in Kraken Framework license section.