PHPackages                             dazzle-php/channel-socket - 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-socket

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

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

Dazzle Asynchronous Socket Channel.

v0.5.0-alpha(8y ago)560911MITPHPPHP &gt;=5.6.7

Since Jun 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dazzle-php/channel-socket)[ Packagist](https://packagist.org/packages/dazzle-php/channel-socket)[ RSS](/packages/dazzle-php-channel-socket/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (1)

Dazzle Async Socket Channel
===========================

[](#dazzle-async-socket-channel)

[![Build Status](https://camo.githubusercontent.com/4e6ffe9ffa4ffbdb03c6a804da56c2809c2a8cd03a06b6c0fdca6abd1923bbf2/68747470733a2f2f7472617669732d63692e6f72672f64617a7a6c652d7068702f6368616e6e656c2d736f636b65742e737667)](https://travis-ci.org/dazzle-php/channel-socket)[![Code Coverage](https://camo.githubusercontent.com/a0ccf1f98cd5511bcf2ab205feb590e2039e37a6fb9be588ad443a8d13a30bde/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64617a7a6c652d7068702f6368616e6e656c2d736f636b65742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dazzle-php/channel-socket/?branch=master)[![Code Quality](https://camo.githubusercontent.com/e5c24f2a2ca5390b5162e57d47c4b2b6d1e1e88a39a46fd25fa6fa836495b23d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64617a7a6c652d7068702f6368616e6e656c2d736f636b65742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dazzle-php/channel-socket/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/f68c20dc26bfcff583c561f8bef4f4701f7093dde075eb22420b091f79661f93/68747470733a2f2f706f7365722e707567782e6f72672f64617a7a6c652d7068702f6368616e6e656c2d736f636b65742f762f737461626c65)](https://packagist.org/packages/dazzle-php/channel-socket)[![Latest Unstable Version](https://camo.githubusercontent.com/3d4b1d5b00e8d52da6ce895ad429aff5b80d0aaaa9e3427222ba60af1059c37c/68747470733a2f2f706f7365722e707567782e6f72672f64617a7a6c652d7068702f6368616e6e656c2d736f636b65742f762f756e737461626c65)](https://packagist.org/packages/dazzle-php/channel-socket)[![License](https://camo.githubusercontent.com/4f63ec48d168b678739451804fc5703fc15e2e3a5a361dbffbb1f01ee31964e0/68747470733a2f2f706f7365722e707567782e6f72672f64617a7a6c652d7068702f6368616e6e656c2d736f636b65742f6c6963656e7365)](https://packagist.org/packages/dazzle-php/channel-socket/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-Socket is a component that uses asynchronous sockets to implement transport model for Dazzle Channel.

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

[](#feature-highlights)

Dazzle Channel-Socket features:

- Channel model implementation using sockets,
- 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-Socket 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-socket

```

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-socket/blob/master/CONTRIBUTING.md).
- Open tickets can be found in [issues section](https://github.com/dazzle-php/channel-socket/issues).
- Current contributors are listed in [graphs section](https://github.com/dazzle-php/channel-socket/graphs/contributors)
- To contact the author(s) see the information attached in [composer.json](https://github.com/dazzle-php/channel-socket/blob/master/composer.json) file.

License
-------

[](#license)

Dazzle Framework 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

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3240d ago

### 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 (7 commits)")

---

Tags

asyncchanneldazzleinter-processipcmessagemessage-drivenphpphp-libphp7queuereplyrequestsocketmessageasyncasynchronousrouterroutingservicechannelmessage-drivensoaipcservice-orienteddazzledazzle-phpinterinter-process

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[amphp/amp

A non-blocking concurrency framework for PHP applications.

4.4k123.4M321](/packages/amphp-amp)[revolt/event-loop

Rock-solid event loop for concurrent PHP applications.

91943.6M138](/packages/revolt-event-loop)[amphp/parallel

Parallel processing component for Amp.

84746.2M73](/packages/amphp-parallel)[amphp/sync

Non-blocking synchronization primitives for PHP based on Amp and Revolt.

18852.8M39](/packages/amphp-sync)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[clue/mq-react

Mini Queue, the lightweight in-memory message queue to concurrently do many (but not too many) things at once, built on top of ReactPHP

144691.7k4](/packages/clue-mq-react)

PHPackages © 2026

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