kraken-php / runtime
Kraken Framework Runtime Component.
Requires
- php: >=5.6.7
- kraken-php/channel: 0.4.*
- kraken-php/core: 0.4.*
- kraken-php/event: 0.4.*
- kraken-php/filesystem: 0.4.*
- kraken-php/log: 0.4.*
- kraken-php/loop: 0.4.*
- kraken-php/promise: 0.4.*
- kraken-php/supervision: 0.4.*
- kraken-php/throwable: 0.4.*
- kraken-php/util: 0.4.*
This package is not auto-updated.
Last update: 2024-12-21 20:46:48 UTC
README
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.