PHPackages                             dazzle-php/channel - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. dazzle-php/channel

ActiveLibrary[Queues &amp; Workers](/categories/queues)

dazzle-php/channel
==================

Dazzle Asynchronous IPC Abstraction.

v0.4.1(8y ago)569513MITPHPPHP &gt;=5.6.7

Since Sep 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dazzle-php/channel)[ Packagist](https://packagist.org/packages/dazzle-php/channel)[ Docs](http://kraken-php.com)[ RSS](/packages/dazzle-php-channel/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (6)Versions (9)Used By (3)

Dazzle Async IPC Abstraction
============================

[](#dazzle-async-ipc-abstraction)

[![Build Status](https://camo.githubusercontent.com/4a13c0ada80a458b29d1ce249bb62fab7d30ee0c8eba7b2257940d09d2bc8243/68747470733a2f2f7472617669732d63692e6f72672f64617a7a6c652d7068702f6368616e6e656c2e737667)](https://travis-ci.org/dazzle-php/channel)[![Code Coverage](https://camo.githubusercontent.com/b1b598de921737c41cf88158dc23a691c62dbe41e6eb67f8570052b3c62788e5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64617a7a6c652d7068702f6368616e6e656c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dazzle-php/channel/?branch=master)[![Code Quality](https://camo.githubusercontent.com/80859944c6d1190ca6209fb74eebef76c34ef173ff6f6eea2019edb98a3e35db/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64617a7a6c652d7068702f6368616e6e656c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dazzle-php/channel/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/0f733a7d7732bc00991c01c37ab7e10bfd119a03a8542ffc606b5d7ef6fc8c5b/68747470733a2f2f706f7365722e707567782e6f72672f64617a7a6c652d7068702f6368616e6e656c2f762f737461626c65)](https://packagist.org/packages/dazzle-php/channel)[![Latest Unstable Version](https://camo.githubusercontent.com/d6a20cb4db7b4ee5d3bb75751eccdc2f9cc7c4ea0edb6960f92d800ed8089eb3/68747470733a2f2f706f7365722e707567782e6f72672f64617a7a6c652d7068702f6368616e6e656c2f762f756e737461626c65)](https://packagist.org/packages/dazzle-php/channel)[![License](https://camo.githubusercontent.com/bb20d9a1f2a3bbaa74ce58a321f92da74755c2be71e101497fec2acc437b2578/68747470733a2f2f706f7365722e707567782e6f72672f64617a7a6c652d7068702f6368616e6e656c2f6c6963656e7365)](https://packagist.org/packages/dazzle-php/channel/license)

> **Note:** This repository is part of [Dazzle Project](https://github.com/dazzle-php/dazzle) - the next-gen library for PHP. The project's purpose is to provide PHP developers with a set of complete tools to build functional async applications. Please, make sure you read the attached README carefully and it is guaranteed you will be surprised how easy to use and powerful it is. In the meantime, you might want to check out the rest of our async libraries in [Dazzle repository](https://github.com/dazzle-php) for the full extent of Dazzle experience.

[![](https://raw.githubusercontent.com/dazzle-php/dazzle/master/media/dazzle-x125.png)](https://raw.githubusercontent.com/dazzle-php/dazzle/master/media/dazzle-x125.png)

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

[](#description)

Dazzle Channel is an event-based component that allows sending and receiving messsages asynchronously. It provides abstraction for various IPC models and is designed to be used in multi-threaded, multi-processed systems. It provides complex routing mechanisms, protocols, message encoders and extends behaviour of decorated IPC models by implementing hearbeat mechanisms, reconnect mechanisms and allowing usage of both async and request-reply messaging patterns.

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

[](#feature-highlights)

Dazzle Channel features:

- Message-driven communication,
- IPC models abstraction,
- Support for sending asynchronous messages,
- Support for request-reply pattern,
- Built-in offline and online message buffers,
- Built-in configurable protocol-based routing mechanisms,
- Separation of input and output routers,
- Heartbeat mechanism,
- Reconnect mechanism,
- Event-based &amp; Promise-based API,
- ...and more.

Provided Example(s)
-------------------

[](#provided-examples)

### Quickstart

[](#quickstart)

TODO

### Additional

[](#additional)

TODO

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

[](#requirements)

Dazzle Channel requires:

- PHP-5.6 or PHP-7.0+,
- UNIX or Windows OS.

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

[](#installation)

To install this library make sure you have [composer](https://getcomposer.org/) installed, then run following command:

```
$> composer require dazzle-php/channel

```

Tests
-----

[](#tests)

Tests can be run via:

```
$> vendor/bin/phpunit -d memory_limit=1024M

```

Versioning
----------

[](#versioning)

Versioning of Dazzle libraries is being shared between all packages included in [Dazzle Project](https://github.com/dazzle-php/dazzle). That means the releases are being made concurrently for all of them. On one hand this might lead to "empty" releases for some packages at times, but don't worry. In the end it is far much easier for contributors to maintain and -- what's the most important -- much more straight-forward for users to understand the compatibility and inter-operability of the packages.

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

[](#contributing)

Thank you for considering contributing to this repository!

- The contribution guide can be found in the [contribution tips](https://github.com/dazzle-php/channel/blob/master/CONTRIBUTING.md).
- Open tickets can be found in [issues section](https://github.com/dazzle-php/channel/issues).
- Current contributors are listed in [graphs section](https://github.com/dazzle-php/channel/graphs/contributors)
- To contact the author(s) see the information attached in [composer.json](https://github.com/dazzle-php/channel/blob/master/composer.json) file.

License
-------

[](#license)

Dazzle Channel is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

---

*"Everything is possible. The impossible just takes longer."* ― Dan Brown

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.1% 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 ~40 days

Recently: every ~67 days

Total

8

Last Release

3246d ago

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

0.4.x-devPHP &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 (51 commits)")[![hidehalo](https://avatars.githubusercontent.com/u/6302952?v=4)](https://github.com/hidehalo "hidehalo (1 commits)")

---

Tags

asyncchanneldazzleinter-processipcmessagemessage-drivenphpphp-libphp7queuereplyrequestmessageasyncasynchronousrouterroutingSocketmessage-drivenkrakenkraken-phpipc

### Embed Badge

![Health badge](/badges/dazzle-php-channel/health.svg)

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

###  Alternatives

[revolt/event-loop

Rock-solid event loop for concurrent PHP applications.

91943.6M138](/packages/revolt-event-loop)[icicleio/icicle

Icicle is a PHP library for writing asynchronous code using synchronous coding techniques.

1.1k150.9k14](/packages/icicleio-icicle)[dazzle-php/socket

Dazzle Asynchronous Socket.

1912.8k5](/packages/dazzle-php-socket)[icicleio/socket

Asynchronous stream socket server and client for Icicle.

1650.9k4](/packages/icicleio-socket)

PHPackages © 2026

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