NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1267 most downloaded on Packagist
WebSocket client and server
Last release 18 days ago
19 Sep 2026
Ships fairly regularly
a new release about every 6 weeks
Nearly every release is documented
notes for 58 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
66 releases · first in 2022
One column per quarter.
V4 deprecates some deeper level code interfaces. Most likely conflict with v3 concerns configuration of Client and Server.
V4 deprecates some deeper level code interfaces.
Most likely conflict with v3 concerns configuration of Client and Server.
See v3→v4 migration
Full Changelog: 3.8.1...4.0.0
v3.8PHP version
^8.1
Fix typos, remove redundant runner detach by @srebb in #160
Full Changelog: 3.8.0...3.8.1
Configurable opcode/class mapping using OpcodeRegistry
Features and fixes
onMessage() listener, triggered on all messagesonDisconnect on remote connection closeint<0, 4999>|nullFull Changelog: 3.7.3...3.8.0
v3.7PHP version
^8.1
Use safe stream read in FrameHandler (avoid potential byte read sync issue)
Full Changelog: 3.7.2...3.7.3
Detach connection on failed handshake
Fix spelling of 'implements' in class definitions by @carvefx in #151
Full Changelog: 3.7.0...3.7.1
Configuration class for various settings
Full Changelog: 3.6.2...3.7.0
v3.6PHP version
^8.1
Fuzzy header parsing deflate compression
Full Changelog: 3.6.1...3.6.2
Repo setup, PHP 8.5 default, 8.6 unit test
Full Changelog: 3.6.0...3.6.1
Deprecations by @sirn-se in #128
Full Changelog: 3.5.0...3.6.0
v3.5PHP version
^8.1
Timeouts support float ( @sirn-se )
Full Changelog: 3.4.0...3.5.0
phpstan level 8, and fixes accordingly (@sirn-se)v3.4PHP version
^8.1
Compression Extension as optional middleware (@sirn-se)
v3.3PHP version
^8.1
Using Phrity/Net/Context for context management in Client, Server and Connection (@sirn-se)
Phrity/Net/Context for context management in Client, Server and Connection (@sirn-se)v3.2PHP version
^8.1
* Fix for 3.2.5 (@carvefx)
3.2.5 (@carvefx)Allow additional content in Connection header during handshake - again (@sirn-se)
Introducing ExceptionInterface as root to internal exceptions (@sirn-se)
Allow empty reason phrase in HTTP request (@Sebastix)
Adding phpstan for static analysis (@sirn-se)
phpstan for static analysis (@sirn-se)Fix missing return statement in server shutdown method (@sirn-se)
Deprecation warnings (@sirn-se)
setContext() method (@sirn-se)phrity/net-stream v2.1 for context support and select warning handling (@sirn-se)v3.1PHP version
^8.1
onHandshake(...) listener (will deprecate onConnect(...)) (@sirn-se)
getConnections(), getReadableConnections(), getWritableConnections() (@sirn-se)onHandshake(...) listener (will deprecate onConnect(...)) (@sirn-se)setMaxConnections(int|null) (@sirn-se)shutdown() orderly close server (@sirn-se)phrity/net-uri v2.1 for URI decoding (@sirn-se)v3.0PHP version
^8.1
Client receive() never return null (@sirn-se)
psr/log v3 (@sirn-se)receive() never return null (@sirn-se)v2.2PHP version
^8.0
URL-decoded user-info in headers (@dejanceltra)
Fix so redirect to https uses ssl (ended up with tcp before) (@sirn-se)
https uses ssl (ended up with tcp before) (@sirn-se)Minor fixes on FollowRedirect middleware (@sirn-se)
FollowRedirect middleware (@sirn-se)Optional FollowRedirect middleware (Client only) (@sirn-se)
FollowRedirect middleware (Client only) (@sirn-se)SubprotocolNegotiation middleware (@sirn-se)getMeta() exposed on Client (@sirn-se)HandshakeException if HTTP middleware return invalid status (@sirn-se)ReconnectException to force Client reconnection (@sirn-se)Server->isSsl() method (@sirn-se)phrity/net v2 (@sirn-se)v2.1PHP version
^8.0
Allow additional content in Connection header during handshake (@sirn-se)
Allow repeated headers when pulling HTTP messages (@sirn-se)
Fix issue with falsy but valid HTTP headers (@axklim)
Http & Tick middleware support (@sirn-se)
v2.0PHP version
^8.0
Fix psr/log dependency (@sirn-se)
psr/log dependency (@sirn-se)Removed deprecated methods and options (@sirn-se)
receive() always return Message instance or null (@sirn-se)send() require Message instance as first argument (@sirn-se)Close get close-status methods (@sirn-se)7.4 support (@sirn-se)v1.7PHP version
^7.4|^8.0
Fix dependency psr/http-message (@sirn-se)
psr/http-message (@sirn-se)PSR compliance psr/log v3 psr/http-message v2 (@sirn-se)
psr/log v3 psr/http-message v2 (@sirn-se)Define return on receive (@zgrguric, @sirn-se)
Deprecations for v2.0 (@sirn-se)
getHandshakeResponse() method (@sirn-se)getHandshakeRequest() method (@sirn-se)connect() methods are now public (@sirn-se)v1.6PHP version
^7.4|^8.0
Masking policy according to specification (@sirn-se)
Fix issue with implicit default ports (@etrinh, @sirn-se)
Fix issue where port was missing in socket uri (@sirn-se)
Fix client path for http request (@simPod, @sirn-se)
getPier() deprecated, replaced by getRemoteName() (@sirn-se)
Psr\Http\Message\UriInterface as input for URI:s (@sirn-se)v1.5PHP version
^7.2|^8.0
Handle read error during handshake (@sirn-se)
Large header block fix (@sirn-se)
Add test for PHP 8.1 (@sirn-se)
Support for psr/log v2 and v3 (@simPod)
Keep open connection on read timeout (@marcroberts)
Fix for persistent connection (@sirn-se)
Fix for getName() method (@sirn-se)
Fix for persistent connections (@rmeisler)
Convenience send methods; text(), binary(), ping(), pong() (@sirn-se)
8.0 support (@webpatser)7.1 support (@sirn-se)v1.4PHP version
^7.1
Solve stream closure/get meta conflict (@sirn-se)
Force stream close on read error (@sirn-se)
Ping/Pong, handled internally to avoid breaking fragmented messages (@nshmyrev, @sirn-se)
Dropped support of old PHP versions (@sirn-se)
v1.3PHP version
^5.4and^7.0
Allow control messages without payload (@Logioniz)
Implements ping/pong frames (@pmccarren @Logioniz)
v1.2PHP version
^5.4and^7.0
Adding stream context options (to set e.g. SSL allow_self_signed).
allow_self_signed).v1.1PHP version
^5.4and^7.0
Fixed error message on broken frame.
* Adding license information.
* Supporting huge payloads. ## v1.0 > PHP version ^5.4 and ^7.0
v1.0PHP version
^5.4and^7.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →