Download the PHP package danog/php-rtc-dtls without Composer
On this page you can find all versions of the php package danog/php-rtc-dtls. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download danog/php-rtc-dtls
More information about danog/php-rtc-dtls
Files in danog/php-rtc-dtls
Package php-rtc-dtls
Short Description Pure-PHP DTLS 1.2 for WebRTC, powered by phpseclib and Amp v3.
License BSD-3-Clause
Homepage https://github.com/danog/php-rtc-dtls
Informations about the package php-rtc-dtls
DTLS
A PHP implementation of Datagram Transport Layer Security (DTLS), designed for secure communication over UDP, especially in real-time communication protocols such as WebRTC and SRTP.
About this fork
This is the danog/php-rtc-dtls fork used by MadelineProto. It targets PHP 8.2+, runs on Amp v3 fibers, and uses the pure-PHP DTLS 1.2 engine backed by phpseclib instead of OpenSSL FFI. Its handshake driver includes timer, retransmission, and packet-loss recovery fixes validated against independent DTLS implementations.
All internal Composer dependencies use their danog/php-rtc-* package names directly, so installing a component selects the maintained danog packages throughout the dependency graph.
Features
- DTLS 1.2 handshake implementation
- Secure communication over UDP
- Certificate and key generation
- Integration-ready with SRTP (Secure RTP)
- Peer authentication
Requirements
- PHP ≥ 8.2
- phpseclib 3 (installed through Composer)
Documentation
This package is part of the PHP WebRTC library. For complete documentation, examples, and API reference, visit:
Credits
Authors
-
Daniil Gentili
-
Amin Yazdanpanah
- Website: aminyazdanpanah.com
- Email: [email protected]
- Sana Moniri
- GtiHub: sanamoniri
Reporting Issues
Found a bug? Please report it on our issues.
License
BSD 3-Clause License. See LICENSE for details.
All versions of php-rtc-dtls with dependencies
amphp/amp Version ^3.1.3
danog/php-rtc-exception Version ^1.1.5
danog/php-rtc-ice Version ^1.1.18 || ^2.0
danog/php-rtc-rtp Version ^2.0.23
danog/php-rtc-sctp Version ^1.1.5 || ^2.0
danog/php-rtc-stats Version ^1.1.3
danog/php-rtc-sdp Version ^1.1.6
danog/php-rtc-mixin Version ^2.0
danog/php-rtc-srtp Version ^1.1.16
symfony/polyfill-php84 Version *
phpseclib/phpseclib Version ^4.0