clue/socket-raw
Simple and lightweight OOP wrapper for PHP's low-level sockets extension (ext-sockets).
v1.6.0
13M downloads/mo
#1271 most downloaded on Packagist
clue/socket-raw
What this package is like to depend on
Last release 4 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
13 years old
11 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
11 releases · Apr 2013 to Apr 2022Releases
latest 11-
v1.6.014 Apr 2022Release notes
Open source →-
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)
-
-
v1.5.027 Nov 2020Release notes
Open source →-
Feature: Support PHP 8 and drop legacy HHVM support. (#60 and #61 by @clue)
-
Improve test suite and add
.gitattributesto exclude dev files from export. Update to PHPUnit 9 and simplify test matrix. (#50, #51, #58 and #63 by @clue and #57 by @SimonFrings)
-
-
v1.4.128 Oct 2019Release notes
Open source →-
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)
-
-
v1.4.022 Jan 2019Release notes
Open source →-
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)
-
-
v1.3.010 Jun 2018Release notes
Open source →-
Feature: Add
$timeoutparameter forFactory::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)
Release notes
Open source →-
Feature: Add
$timeoutparameter forFactory::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)
-
-
v1.2.018 Mar 2015Release notes
Open source →Release notes
Open source →- Feature: Expose optional
$typeparameter forSocket::read()(#16 by @Elbandi)
- Feature: Expose optional
-
v1.1.024 Oct 2014Release notes
Open source →- Feature: Accept float timeouts like
0.5forSocket::selectRead()andSocket::selectWrite().
(#8) - Feature: Add new
Socket::connectTimeout()method.
(#11) - Fix: Close invalid socket resource when
Factoryfails to create aSocket.
(#12) - Fix: Calling
accept()on an idle server socket emits right error code and message.
(#14)
Release notes
Open source →-
Feature: Accept float timeouts like
0.5forSocket::selectRead()andSocket::selectWrite(). (#8) -
Feature: Add new
Socket::connectTimeout()method. (#11) -
Fix: Close invalid socket resource when
Factoryfails to create aSocket. (#12) -
Fix: Calling
accept()on an idle server socket emits right error code and message. (#14)
- Feature: Accept float timeouts like
-
v1.0.010 May 2014 -
v0.1.209 May 2013Release notes
Open source →- Fix: The
Factory::createUdg()now returns the right socket type. - Fix: Fix ICMPv6 addressing to not require square brackets because it does not
use ports. - Extended test suite.
Release notes
Open source →- Fix: The
Factory::createUdg()now returns the right socket type. - Fix: Fix ICMPv6 addressing to not require square brackets because it does not use ports.
- Extended test suite.
- Fix: The
-
v0.1.118 Apr 2013 -
v0.1.010 Apr 2013