NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1337 most downloaded on Packagist
Simple and lightweight OOP wrapper for PHP's low-level sockets extension (ext-sockets).
Latest stable
v1.6.0
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 3.2 years
Nearly every release is documented
notes for 11 of 11 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
11 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Feature: Forward compatibility with PHP 8.1 release. (#67 and #68 by @clue)
Feature: Forward compatibility with PHP 8.1 release. (#67 and #68 by @clue)
Fix: Fix reporting refused connections on Windows. (#69 by @clue)
Improve CI setup and documentation. (#70 and #65 by @clue, #64 by @szepeviktor and #66 by @PaulRotmann)
Feature: Support PHP 8 and drop legacy HHVM support. (#60 and #61 by @clue)
Feature: Support PHP 8 and drop legacy HHVM support. (#60 and #61 by @clue)
Improve test suite and add .gitattributes to exclude dev files from export.
Update to PHPUnit 9 and simplify test matrix.
(#50, #51, #58 and #63 by @clue and #57 by @SimonFrings)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix: Fix error reporting when invoking methods on closed socket instance. (#48 by @clue)
Fix: Fix error reporting when invoking methods on closed socket instance. (#48 by @clue)
Improve test suite to run tests on Windows via Travis CI. (#49 by @clue)
Feature: Improve Windows support (async connections and Unix domain sockets). (#43 by @clue)
Feature: Improve Windows support (async connections and Unix domain sockets). (#43 by @clue)
Improve test suite by adding forward compatibility with PHPUnit 7 and PHPUnit 6. (#42 by @clue)
Feature: Add $timeout parameter for Factory::createClient() (#39 by @Elbandi and @clue)
Feature: Add $timeout parameter for Factory::createClient()
(#39 by @Elbandi and @clue)
// connect to Google, but wait no longer than 2.5s for connection
$socket = $factory->createClient('www.google.com:80', 2.5);
Improve test suite by adding PHPUnit to require-dev, update test suite to test against legacy PHP 5.3 through PHP 7.2 and optionally skip functional integration tests requiring internet. (#26 by @ascii-soup, #28, #29, #37 and #38 by @clue)
Feature: Expose optional $type parameter for Socket::read() (#16 by @Elbandi)
$type parameter for Socket::read()
(#16 by @Elbandi)Feature: Accept float timeouts like 0.5 for Socket::selectRead() and Socket::selectWrite().
0.5 for Socket::selectRead() and Socket::selectWrite().
(#8)Socket::connectTimeout() method.
(#11)Factory fails to create a Socket.
(#12)accept() on an idle server socket emits right error code and message.
(#14)Feature: Improved errors reporting through dedicated Exception
Fix: The Factory::createUdg() now returns the right socket type.
Factory::createUdg() now returns the right socket type.Fix: Raw sockets now correctly report no port instead of a 0 port.
0 port.* First tagged release
One column per quarter.