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.

Fund package maintenance!
php-webrtc

v1.0.0 2025-05-14 19:45 UTC

This package is auto-updated.

Last update: 2025-05-14 20:37:30 UTC


README

PHP Version License

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.

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.4 with FFI extension enabled
  • OpenSSL development libraries
  • Srtp development libraries
  • Linux environment (Windows/macOS support planned)

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.