olakunlevpn / ratchet
PHP WebSocket library
0.4.4
2026-06-11 12:59 UTC
Requires
- php: >=5.4.2
- guzzlehttp/psr7: ^1.7|^2.0
- ratchet/rfc6455: ^0.3.1
- react/event-loop: >=0.4
- react/socket: ^1.0 || ^0.8 || ^0.7 || ^0.6 || ^0.5
- symfony/http-foundation: ^2.6|^3.0|^4.0|^5.0|^6.0|^7.0|^8.0
- symfony/routing: ^2.6|^3.0|^4.0|^5.0|^6.0|^7.0|^8.0
Requires (Dev)
- phpunit/phpunit: ~4.8
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.