PHPackages                             danog/php-rtc-stats - 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. danog/php-rtc-stats

ActiveLibrary

danog/php-rtc-stats
===================

WebRTC statistics objects for RTP, DTLS, ICE, and media metrics. MadelineProto's PHP 8.2+ fork supports the modular danog/php-rtc stack.

v1.0.1005(today)018↑2566.7%3BSD-3-ClausePHPPHP ^8.2

Since May 14Pushed todayCompare

[ Source](https://github.com/danog/php-rtc-stats)[ Packagist](https://packagist.org/packages/danog/php-rtc-stats)[ Docs](https://github.com/danog/php-rtc-stats)[ RSS](/packages/danog-php-rtc-stats/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (8)Used By (3)

Stats Library for PHP WebRTC
============================

[](#stats-library-for-php-webrtc)

[![PHP Version](https://camo.githubusercontent.com/c5e8da782b1a0673c08b4f474108036d2cc973470eed2d5d89d48e8c8475eee6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e322d626c75652e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

A PHP implementation of the WebRTC Statistics API for tracking RTP, DTLS, and media performance metrics.

About this fork
---------------

[](#about-this-fork)

This is the `danog/php-rtc-stats` PHP 8.2+ fork used by MadelineProto. It is published under the `danog/php-rtc-stats` Composer package name.

All internal Composer dependencies use their `danog/php-rtc-*` package names directly, so installing a component selects the maintained danog packages throughout the dependency graph.

Features
--------

[](#features)

- Collect real-time stats from WebRTC components
- Export stats as structured PHP arrays
- Supports timing, packet counters, jitter, and loss metrics
- Designed to match W3C Stats specification

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

[](#requirements)

- PHP ≥ 8.2

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

[](#documentation)

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

[PHP WebRTC Documentation](https://github.com/danog/php-rtc-stats)

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/stats/issues).

License
-------

[](#license)

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

References
----------

[](#references)

- [W3C WebRTC Statistics API](https://www.w3.org/TR/webrtc-stats/)

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance100

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~78 days

Recently: every ~8 days

Total

7

Last Release

0d ago

PHP version history (2 changes)v1.0.0PHP ^8.4

v1.0.1000PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![danog](https://avatars.githubusercontent.com/u/7339644?v=4)](https://github.com/danog "danog (8 commits)")

---

Tags

statsWebRTC

### Embed Badge

![Health badge](/badges/danog-php-rtc-stats/health.svg)

```
[![Health](https://phpackages.com/badges/danog-php-rtc-stats/health.svg)](https://phpackages.com/packages/danog-php-rtc-stats)
```

###  Alternatives

[wnx/laravel-stats

Get insights about your Laravel Project

1.7k1.9M7](/packages/wnx-laravel-stats)[ptrofimov/beanstalk_console

Admin console for Beanstalk queue server

1.3k126.6k](/packages/ptrofimov-beanstalk-console)[opentok/opentok

OpenTok is a platform for creating real time streaming video applications, created by TokBox.

1413.3M10](/packages/opentok-opentok)[php-junior/laravel-video-chat

Laravel Video Chat using Socket.IO and WebRTC

81718.2k](/packages/php-junior-laravel-video-chat)[richjenks/stats

Statistics library for non-statistical people

23155.2k1](/packages/richjenks-stats)[cturbelin/rserve-php

Rserve client library for PHP

4435.3k](/packages/cturbelin-rserve-php)

PHPackages © 2026

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