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

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

sharkydog/ratchet-rfc6455
=========================

RFC6455 WebSocket protocol handler

v1.1(8mo ago)0421MITPHPPHP &gt;=7.4

Since Oct 10Pushed 8mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (1)

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

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

This is a fork of [ratchet/rfc6455](https://github.com/ratchetphp/RFC6455)
--------------------------------------------------------------------------

[](#this-is-a-fork-of-ratchetrfc6455)

Removed all from Ratchet\\RFC6455\\Handshake, except Ratchet\\RFC6455\\Handshake\\PermessageDeflateOptions which is required in Ratchet\\RFC6455\\Messaging\\MessageBuffer.

The reason for this is to not pull guzzle and psr interfaces, as they are used only for the handshake, which can be simplified and minified, skipping some more or less irrelevant checks these days. The handshake (connection upgrade) has to be done separately.

If you don't mind guzzle psr7, just use the original repo.

### Original readme follows

[](#original-readme-follows)

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

32

—

LowBetter than 69% of packages

Maintenance60

Regular maintenance activity

Popularity8

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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 ~371 days

Total

2

Last Release

253d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.4.2

v1.1PHP &gt;=7.4

### Community

Maintainers

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

---

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

websocketWebSocketsrfc6455

### Embed Badge

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

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

###  Alternatives

[cboden/ratchet

PHP WebSocket library

6.4k22.0M252](/packages/cboden-ratchet)[ratchet/rfc6455

RFC6455 WebSocket protocol handler

23538.3M74](/packages/ratchet-rfc6455)[wrench/wrench

PHP WebSocket client/server library

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

A simple PHP WebSocket implementation

674.1M12](/packages/chrome-php-wrench)[rx/websocket

Websockets for PHP using Rx

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

PHP WebSocket server and client library

4811.2k](/packages/hemiframe-php-websocket)

PHPackages © 2026

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