A PHP library for STUN (Session Traversal Utilities for NAT) protocol, enabling NAT discovery and reflexive address retrieval for ICE connectivity in WebRTC applications.

Fund package maintenance!
php-webrtc

v1.0.0 2025-05-13 13:14 UTC

This package is auto-updated.

Last update: 2025-05-13 13:18:51 UTC


README

PHP Version License

A PHP library for STUN (Session Traversal Utilities for NAT) protocol, enabling NAT discovery and reflexive address retrieval for ICE connectivity in WebRTC applications.

Features

  • Encode and decode STUN messages
  • Support for Binding requests and responses
  • Implements STUN message integrity and fingerprinting
  • Compatible with ICE and TURN components

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