PackageTrack
Sign in Get early access

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 2022
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 11
  1. v1.6.0 14 Apr 2022
    Release notes
    Open source →
    Release notes
    • 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)

    Open source →
  2. v1.5.0 27 Nov 2020
    Release notes
    • 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)

    Open source →
    Release notes
    • 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)

    Open source →
  3. v1.4.1 28 Oct 2019
    Release notes
    • 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)

    Open source →
    Release notes
    • 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)

    Open source →
  4. v1.4.0 22 Jan 2019
    Release notes
    • 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)

    Open source →
    Release notes
    • 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)

    Open source →
  5. v1.3.0 10 Jun 2018
    Release notes
    • 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)

    Open source →
    Release notes
    • 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)

    Open source →
  6. v1.2.0 18 Mar 2015
    Release notes
    • Feature: Expose optional $type parameter for Socket::read()
      (#16 by @elbandi)
    Open source →
    Release notes
    • Feature: Expose optional $type parameter for Socket::read() (#16 by @Elbandi)
    Open source →
  7. v1.1.0 24 Oct 2014
    Release notes
    • Feature: Accept float timeouts like 0.5 for Socket::selectRead() and Socket::selectWrite().
      (#8)
    • Feature: Add new Socket::connectTimeout() method.
      (#11)
    • Fix: Close invalid socket resource when Factory fails to create a Socket.
      (#12)
    • Fix: Calling accept() on an idle server socket emits right error code and message.
      (#14)
    Open source →
    Release notes
    • Feature: Accept float timeouts like 0.5 for Socket::selectRead() and Socket::selectWrite(). (#8)

    • Feature: Add new Socket::connectTimeout() method. (#11)

    • Fix: Close invalid socket resource when Factory fails to create a Socket. (#12)

    • Fix: Calling accept() on an idle server socket emits right error code and message. (#14)

    Open source →
  8. v1.0.0 10 May 2014
    Release notes
    • Feature: Improved errors reporting through dedicated Exception
      (#6)
    • Feature: Support HHVM
      (#5)
    • Use PSR-4 layout
      (#3)
    • Continuous integration via Travis CI
    Open source →
    Release notes
    • Feature: Improved errors reporting through dedicated Exception (#6)
    • Feature: Support HHVM (#5)
    • Use PSR-4 layout (#3)
    • Continuous integration via Travis CI
    Open source →
  9. v0.1.2 09 May 2013
    Release notes
    • 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.
    Open source →
    Release notes
    • 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.
    Open source →
  10. v0.1.1 18 Apr 2013
    Release notes
    • Fix: Raw sockets now correctly report no port instead of a 0 port.
    Open source →
    Release notes
    • Fix: Raw sockets now correctly report no port instead of a 0 port.
    Open source →
  11. v0.1.0 10 Apr 2013
    Release notes
    • First tagged release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive