PHPackages                             quasarstream/dtls - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. quasarstream/dtls

ActiveLibrary[HTTP &amp; Networking](/categories/http)

quasarstream/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.

v1.0.0(1y ago)01.2k↓67.6%1BSD-3-ClausePHPPHP ^8.4CI failing

Since May 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/PHP-WebRTC/dtls)[ Packagist](https://packagist.org/packages/quasarstream/dtls)[ Docs](https://www.quasarstream.com/webrtc)[ GitHub Sponsors](https://github.com/php-webrtc)[ RSS](/packages/quasarstream-dtls/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (11)Versions (2)Used By (1)

DTLS
====

[](#dtls)

[![PHP Version](https://camo.githubusercontent.com/9c2f8ad80d34105266a94c4c06234f8ed18c968d3595039c2d9a7becd1e71c8b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e342d626c75652e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/2b599ab1ace97388d4375b87919f92781a1a61d016fe640a5c4d15fc365deed1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d626c75652e737667)](LICENSE)

A PHP implementation of [Datagram Transport Layer Security (DTLS)](https://datatracker.ietf.org/doc/html/rfc6347), designed for secure communication over UDP, especially in real-time communication protocols such as WebRTC and SRTP.

Features
--------

[](#features)

- DTLS 1.2 handshake implementation
- Secure communication over UDP
- Certificate and key generation
- Integration-ready with SRTP (Secure RTP)
- Peer authentication

Requirements
------------

[](#requirements)

- PHP ≥ 8.4 with FFI extension enabled
- OpenSSL development libraries
- Srtp development libraries
- Linux environment (Windows/macOS support planned)

Documentation
-------------

[](#documentation)

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

[PHP WebRTC Documentation](https://www.quasarstream.com/php-webrtc)

Credits
-------

[](#credits)

### Authors

[](#authors)

- **Amin Yazdanpanah**

    - Website: [aminyazdanpanah.com](https://www.aminyazdanpanah.com)
    - Email:
- **Sana Moniri**

    - GtiHub: [sanamoniri](https://github.com/sanamoniri)

Reporting Issues
----------------

[](#reporting-issues)

Found a bug? Please report it on our [issues](https://github.com/php-webrtc/dtls/issues).

License
-------

[](#license)

BSD 3-Clause License. See [LICENSE](LICENSE) for details.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance46

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

415d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3193929?v=4)[Amin Yazdanpanah](/maintainers/aminyazdanpanah)[@aminyazdanpanah](https://github.com/aminyazdanpanah)

---

Tags

datagramdatagram-transport-layer-securitydtlsphpphp8-4webrtcrtpdtls

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/quasarstream-dtls/health.svg)

```
[![Health](https://phpackages.com/badges/quasarstream-dtls/health.svg)](https://phpackages.com/packages/quasarstream-dtls)
```

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

43.2k341.0k1](/packages/ccxt-ccxt)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78127.7M466](/packages/react-http)[ratchet/pawl

Asynchronous WebSocket client

62010.0M242](/packages/ratchet-pawl)[quasarstream/webrtc

This package provides a complete WebRTC implementation written entirely in PHP

1281.2k2](/packages/quasarstream-webrtc)[binsoul/net-mqtt-client-react

Asynchronous MQTT client built on React

51794.0k24](/packages/binsoul-net-mqtt-client-react)[valga/fbns-react

A PHP client for the FBNS built on top of ReactPHP

15754.6k19](/packages/valga-fbns-react)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
