PHPackages                             ratchet/rfc6455 - 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. ratchet/rfc6455

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

ratchet/rfc6455
===============

RFC6455 WebSocket protocol handler

v0.4.0(1y ago)23433.7M—1.5%44[6 issues](https://github.com/ratchetphp/RFC6455/issues)[1 PRs](https://github.com/ratchetphp/RFC6455/pulls)20MITPHPPHP &gt;=7.4CI failing

Since Aug 30Pushed 1y ago8 watchersCompare

[ Source](https://github.com/ratchetphp/RFC6455)[ Packagist](https://packagist.org/packages/ratchet/rfc6455)[ Docs](http://socketo.me)[ RSS](/packages/ratchet-rfc6455/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (12)Used By (20)

RFC6455 - The WebSocket Protocol
================================

[](#rfc6455---the-websocket-protocol)

[![Build Status](https://github.com/ratchetphp/RFC6455/workflows/CI/badge.svg)](https://github.com/ratchetphp/RFC6455/actions)[![Autobahn Testsuite](https://camo.githubusercontent.com/9ee59f03c0e8b8f9145a005f06327fb29e18f8b9a841478457b2fdb468ca365f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4175746f6261686e2d70617373696e672d627269676874677265656e2e737667)](http://socketo.me/reports/rfc-server/index.html)

This library a protocol handler for the RFC6455 specification. It contains components for both server and client side handshake and messaging protocol negotation.

Aspects that are left open to interpretation in the specification are also left open in this library. It is up to the implementation to determine how those interpretations are to be dealt with.

This library is independent, framework agnostic, and does not deal with any I/O. HTTP upgrade negotiation integration points are handled with PSR-7 interfaces.

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance43

Moderate activity, may be stable

Popularity69

Solid adoption and visibility

Community41

Growing community involvement

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 61.4% 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 ~383 days

Recently: every ~544 days

Total

11

Last Release

449d ago

PHP version history (3 changes)v0.1PHP &gt;=5.3.9

v0.2PHP &gt;=5.4.2

v0.4.0PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![cboden](https://avatars.githubusercontent.com/u/617694?v=4)](https://github.com/cboden "cboden (170 commits)")[![mbonneau](https://avatars.githubusercontent.com/u/748287?v=4)](https://github.com/mbonneau "mbonneau (82 commits)")[![Domochip](https://avatars.githubusercontent.com/u/33293764?v=4)](https://github.com/Domochip "Domochip (4 commits)")[![mbabker](https://avatars.githubusercontent.com/u/368545?v=4)](https://github.com/mbabker "mbabker (3 commits)")[![SimonFrings](https://avatars.githubusercontent.com/u/44357440?v=4)](https://github.com/SimonFrings "SimonFrings (2 commits)")[![taavit](https://avatars.githubusercontent.com/u/754920?v=4)](https://github.com/taavit "taavit (2 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (2 commits)")[![vkartaviy](https://avatars.githubusercontent.com/u/648039?v=4)](https://github.com/vkartaviy "vkartaviy (2 commits)")[![Barbarrosa](https://avatars.githubusercontent.com/u/4523460?v=4)](https://github.com/Barbarrosa "Barbarrosa (2 commits)")[![matkomat](https://avatars.githubusercontent.com/u/13215538?v=4)](https://github.com/matkomat "matkomat (1 commits)")[![andreybolonin](https://avatars.githubusercontent.com/u/2576509?v=4)](https://github.com/andreybolonin "andreybolonin (1 commits)")[![erikn69](https://avatars.githubusercontent.com/u/4933954?v=4)](https://github.com/erikn69 "erikn69 (1 commits)")[![jmoo](https://avatars.githubusercontent.com/u/8016155?v=4)](https://github.com/jmoo "jmoo (1 commits)")[![3kbest](https://avatars.githubusercontent.com/u/25566931?v=4)](https://github.com/3kbest "3kbest (1 commits)")[![nervo](https://avatars.githubusercontent.com/u/95935?v=4)](https://github.com/nervo "nervo (1 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (1 commits)")[![tantegerda1](https://avatars.githubusercontent.com/u/4216652?v=4)](https://github.com/tantegerda1 "tantegerda1 (1 commits)")

---

Tags

phprfc6455websocket-protocolwebsocketswebsocketWebSocketsrfc6455

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ratchet-rfc6455/health.svg)

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

###  Alternatives

[cboden/ratchet

PHP WebSocket library

6.4k21.4M239](/packages/cboden-ratchet)[wrench/wrench

PHP WebSocket client/server library

5903.1M11](/packages/wrench-wrench)[chrome-php/wrench

A simple PHP WebSocket implementation

673.7M4](/packages/chrome-php-wrench)[rx/websocket

Websockets for PHP using Rx

34181.5k2](/packages/rx-websocket)[hemiframe/php-websocket

PHP WebSocket server and client library

4911.0k](/packages/hemiframe-php-websocket)[plesk/ratchetphp

PHP WebSocket library

1865.9k2](/packages/plesk-ratchetphp)

PHPackages © 2026

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