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.1(4w ago)23641.1M—4.1%46[1 PRs](https://github.com/ratchetphp/RFC6455/pulls)20MITPHPPHP &gt;=7.4CI passing

Since Aug 30Pushed 4w 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 3d ago

READMEChangelog (10)Dependencies (10)Versions (13)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

69

—

FairBetter than 100% of packages

Maintenance94

Actively maintained with recent releases

Popularity70

Solid adoption and visibility

Community42

Growing community involvement

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 60.1% 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 ~390 days

Recently: every ~591 days

Total

12

Last Release

28d 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)")[![clue](https://avatars.githubusercontent.com/u/776829?v=4)](https://github.com/clue "clue (5 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)")[![Barbarrosa](https://avatars.githubusercontent.com/u/4523460?v=4)](https://github.com/Barbarrosa "Barbarrosa (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)")[![taavit](https://avatars.githubusercontent.com/u/754920?v=4)](https://github.com/taavit "taavit (2 commits)")[![SimonFrings](https://avatars.githubusercontent.com/u/44357440?v=4)](https://github.com/SimonFrings "SimonFrings (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)")[![skie](https://avatars.githubusercontent.com/u/130799?v=4)](https://github.com/skie "skie (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.4k22.3M254](/packages/cboden-ratchet)[wrench/wrench

PHP WebSocket client/server library

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

A simple PHP WebSocket implementation

674.3M14](/packages/chrome-php-wrench)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[rx/websocket

Websockets for PHP using Rx

35182.6k2](/packages/rx-websocket)

PHPackages © 2026

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