danog/php-rtc-sctp

A PHP library implementing SCTP (Stream Control Transmission Protocol) for WebRTC data channels. Fork with FFI made optional and a pure-PHP DTLS/SRTP stack, maintained for MadelineProto.

Maintainers

Package info

github.com/danog/php-rtc-sctp

Homepage

pkg:composer/danog/php-rtc-sctp

Transparency log

Fund package maintenance!

php-webrtc

Statistics

Installs: 1

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1003 2026-07-26 17:48 UTC

This package is auto-updated.

Last update: 2026-07-26 17:50:12 UTC


README

PHP Version License

A PHP library implementing SCTP (Stream Control Transmission Protocol) for WebRTC data channels. This package supports stream multiplexing, retransmissions, congestion control, and reliable or partially reliable data delivery.

Features

  • Full support for SCTP packet parsing and serialization
  • Stream multiplexing for data channels
  • Congestion control and retransmission mechanisms
  • Timer-based delivery (RFC 3758)
  • Partial reliability support

Requirements

  • PHP ≥ 8.4

Documentation

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

PHP WebRTC Documentation

Credits

Authors

Reporting Issues

Found a bug? Please report it on our issues.

License

BSD 3-Clause License. See LICENSE for details.

References