olakunlevpn/ratchet

PHP WebSocket library

Maintainers

Package info

github.com/olakunlevpn/ratchet

Homepage

Issues

Chat

pkg:composer/olakunlevpn/ratchet

Statistics

Installs: 0

Dependents: 1

Suggesters: 0

Stars: 0

0.4.4 2026-06-11 12:59 UTC

This package is auto-updated.

Last update: 2026-06-11 13:08:30 UTC


README

A constraint-patch fork of cboden/ratchet (PHP WebSocket library). The only change from upstream is widening the Symfony component constraints so it installs alongside Laravel 11 / 12 / 13 (Symfony 7 / 8):

symfony/http-foundation: ^2.6|...|^6.0|^7.0|^8.0
symfony/routing:         ^2.6|...|^6.0|^7.0|^8.0

The PHP namespace is unchanged (Ratchet\) for full interop with ratchet/rfc6455 and ReactPHP. This fork exists only because upstream Ratchet (last released 2021) caps Symfony at ^6.0, which conflicts with Laravel 11+.

Installation

Consumed via a Composer path repository (used by olakunlevpn/laravel-websockets):

{
    "repositories": [
        { "type": "path", "url": "Packages/ratchet", "options": { "symlink": true } }
    ],
    "require": {
        "olakunlevpn/ratchet": "^0.4.4"
    }
}

License

MIT (derived from cboden/ratchet). Maintained by Olakunlevpn.