PHPackages                             quasarstream/ssl - 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. [Security](/categories/security)
4. /
5. quasarstream/ssl

ActiveLibrary[Security](/categories/security)

quasarstream/ssl
================

A PHP wrapper for OpenSSL using FFI, tailored for WebRTC components.

v1.0.0(1y ago)1748↓59.4%1BSD-3-ClausePHPPHP ^8.4CI passing

Since May 12Pushed 1y ago1 watchersCompare

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

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

OpenSSL Adapter for PHP WebRTC
==============================

[](#openssl-adapter-for-php-webrtc)

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

A secure PHP FFI wrapper for OpenSSL, specifically designed for WebRTC implementations. Provides comprehensive cryptographic support including DTLS, SRTP, and certificate management.

Features
--------

[](#features)

- **DTLS Support**: Certificate generation and fingerprint extraction
- **SRTP Security**: Key derivation for secure media transport
- **Certificate Management**: X.509 support and context creation
- **Safe FFI Interface**: Type-safe cryptographic operations

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

[](#requirements)

- PHP ≥ 8.4 with FFI extension enabled
- OpenSSL 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**
    [aminyazdanpanah.com](https://www.aminyazdanpanah.com)
- **Sana Moniri**
    [GitHub](https://github.com/sanamoniri)

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

[](#reporting-issues)

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

License
-------

[](#license)

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

References
----------

[](#references)

- [OpenSSL Official Documentation](https://www.openssl.org/docs/)
- [RFC 5763: DTLS-SRTP](https://datatracker.ietf.org/doc/html/rfc5763)
- [WebRTC Security Architecture](https://webrtc-security.github.io/)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance49

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

371d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a73aaac753c327bdc55306a38bb829db7a8435ef17a742d94f2917bbf1bfc12e?d=identicon)[aminyazdanpanah](/maintainers/aminyazdanpanah)

---

Tags

cryptoopensslphpphp84sslx509cryptox509certificateopensslsslprivateKey

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[acmephp/core

Raw implementation of the ACME protocol in PHP

38973.7k7](/packages/acmephp-core)[acmephp/ssl

PHP wrapper around OpenSSL extension providing SSL encoding, decoding, parsing and signing features

141.2M4](/packages/acmephp-ssl)[acmephp/acmephp

Let's Encrypt client written in PHP

649155.1k](/packages/acmephp-acmephp)[kelunik/acme

ACME library written in PHP.

121603.9k3](/packages/kelunik-acme)

PHPackages © 2026

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