/stun

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

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

STUN Library for PHP

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