PHPackages                             quasarstream/datachannel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. quasarstream/datachannel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

quasarstream/datachannel
========================

A PHP implementation of WebRTC's RTCDataChannel interface for bidirectional peer-to-peer data communication.

v1.0.0(1y ago)01.4k↓73%2BSD-3-ClausePHPPHP ^8.4CI failing

Since May 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/PHP-WebRTC/datachannel)[ Packagist](https://packagist.org/packages/quasarstream/datachannel)[ Docs](https://www.quasarstream.com/webrtc)[ GitHub Sponsors](https://github.com/php-webrtc)[ RSS](/packages/quasarstream-datachannel/feed)WikiDiscussions master Synced 1w ago

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

WebRTC Data Channel Implementation
==================================

[](#webrtc-data-channel-implementation)

[![PHP Version](https://camo.githubusercontent.com/2aed50cc19486e0407775311c22f530383b2791ca08b8c9583ebb80cb5e364e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e342532422d626c75652e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/2b599ab1ace97388d4375b87919f92781a1a61d016fe640a5c4d15fc365deed1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d626c75652e737667)](LICENSE)

A PHP implementation of WebRTC's RTCDataChannel interface for bidirectional peer-to-peer data communication.

Features
--------

[](#features)

- **Bidirectional communication**: Send and receive arbitrary data between peers
- **Configurable reliability**: Ordered/unordered delivery with retransmission policies
- **Flow control**: Monitor buffered data with threshold notifications
- **Event-driven API**: React to state changes and data arrival
- **Flexible negotiation**: Support for both in-band and out-of-band channel establishment

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

[](#requirements)

- **PHP ≥ 8.4**

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

[](#documentation)

This package is part of the PHP WebRTC library. For complete documentation, examples, and API reference, visit:

[PHP WebRTC Documentation](https://www.quasarstream.com/php-webrtc)

Credits
-------

[](#credits)

### Authors

[](#authors)

- **Amin Yazdanpanah**

    - Website: [aminyazdanpanah.com](https://www.aminyazdanpanah.com)
    - Email:
- **Sana Moniri**

    - GtiHub: [sanamoniri](https://github.com/sanamoniri)

Reporting Issues
----------------

[](#reporting-issues)

Found a bug? Please report it on our [issues](https://github.com/php-webrtc/DataChannel/issues).

License
-------

[](#license)

BSD 3-Clause License. See [LICENSE](LICENSE) for details.

###  Health Score

34

—

LowBetter than 74% of packages

Maintenance42

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

462d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3193929?v=4)[Amin Yazdanpanah](/maintainers/aminyazdanpanah)[@aminyazdanpanah](https://github.com/aminyazdanpanah)

---

Tags

datachannelphpphp8-4webrtcWebRTCdatachannel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/quasarstream-datachannel/health.svg)

```
[![Health](https://phpackages.com/badges/quasarstream-datachannel/health.svg)](https://phpackages.com/packages/quasarstream-datachannel)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

568591.1k63](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

762297.9k53](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.4M237](/packages/illuminate-broadcasting)[logiscape/mcp-sdk-php

Model Context Protocol SDK for PHP

367137.2k16](/packages/logiscape-mcp-sdk-php)[dagger/dagger

Dagger PHP SDK

271.4k](/packages/dagger-dagger)

PHPackages © 2026

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