PackageTrack
Sign in Get early access

ezimuel/guzzlestreams

Fork of guzzle/streams (abandoned) to be used with elasticsearch-php

4.1.0 122M downloads/mo #367 most downloaded on Packagist ezimuel/guzzlestreams

What this package is like to depend on

Last release 1 years ago

05 Aug 2025

Ships unpredictably

gaps range from 8 days to 5.3 years

Most releases are documented

notes for 11 of 14 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

16 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

16 releases · Mar 2014 to Aug 2025
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 16
  1. 4.1.0 05 Aug 2025
    Release notes

    This release contains the following change:

    • Added the support for PHP 8.4 in #3 , thanks @reedy!
    Open source →
  2. 4.0.0 19 Jun 2024
    Release notes
    • Changed the minimum PHP version to 7.4+
    • Created .gitattributes to avoid installing test folder #2
    Open source →
    Release notes
    Open source →
  3. 3.1.0 24 Oct 2022
    Release notes

    This release includes the following fixes and updates:

    • Fixed fopen() issue with PHP 8.1 08b402f
    • Updated the unit tests with PHPUnit 9 08b402f
    • Removed Travis CI in favor of Github Actions 238a228
    Open source →
  4. 3.0.1 14 Feb 2020

    Nothing published for this version

  5. 3.0.0 12 Oct 2014
    Release notes

    Detaching a buffer stream now just clears the buffer

    Open source →
    Release notes
    • Now supports creating streams from functions and iterators.

    • Supports creating buffered streams and asynchronous streams.

    • Removed functions.php. Use the corresponding functions provided by GuzzleHttp\Streams\Utils instead.

    • Moved GuzzleHttp\Stream\MetadataStreamInterface::getMetadata to GuzzleHttp\Stream\StreamInterface. MetadataStreamInterface is no longer used and is marked as deprecated.

    • Added attach() to GuzzleHttp\Stream\StreamInterface for PSR-7 compatibility.

    • Removed flush() from StreamInterface.

    • Removed the $maxLength parameter from GuzzleHttp\Stream\StreamInterface::getContents(). This function now returns the entire remainder of the stream. If you want to limit the maximum amount of data read from the stream, use the GuzzleHttp\Stream\Utils::copyToString() function.

    • Streams that return an empty string, '', are no longer considered a failure. You MUST return false to mark the read as a failure, and ensure that any decorators you create properly return true in response to the eof() method when the stream is consumed.

    • GuzzleHttp\Stream\Stream::__construct, GuzzleHttp\Stream\Stream::factory, and GuzzleHttp\Stream\Utils::create no longer accept a size in the second argument. They now accept an associative array of options, including the "size" key and "metadata" key which can be used to provide custom metadata.

    • Added GuzzleHttp\Stream\BufferStream to add support for buffering data, and when read, shifting data off of the buffer.

    • Added GuzzleHttp\Stream\NullBuffer which can be used as a buffer that does not actually store any data.

    • Added GuzzleHttp\Stream\AsyncStream to provide support for non-blocking streams that can be filled by a remote source (e.g., an event-loop). If a drain option is provided, the stream can also act as if it is a blocking stream.

    Open source →
  6. 2.1.0 17 Aug 2014
    Release notes
    • Added flush to stream wrapper.
    • Added the ability to easily register the GuzzleStreamWrapper if needed.
    Open source →
    Release notes
    • Added an InflateStream to inflate gzipped or deflated content.

    • Added flush to stream wrapper.

    • Added the ability to easily register the GuzzleStreamWrapper if needed.

    Open source →
  7. 2.0.0 17 Aug 2014
    Release notes
    • Deprecated functions.php and moved all of those methods to
      GuzzleHttp\Streams\Utils. Use GuzzleHttp\Stream\Stream::factory()
      instead of GuzzleHttp\Stream\create() to create new streams.
    • Added flush() to StreamInterface. This method is used to flush any
      underlying stream write buffers.
    • Added FnStream to easily decorate stream behavior with callables.
    • Utils::hash now throws an exception when the stream cannot seek to 0.
    Open source →
    Release notes
    • Deprecated functions.php and moved all of those methods to GuzzleHttp\Streams\Utils. Use GuzzleHttp\Stream\Stream::factory() instead of GuzzleHttp\Stream\create() to create new streams.

    • Added flush() to StreamInterface. This method is used to flush any underlying stream write buffers.

    • Added FnStream to easily decorate stream behavior with callables.

    • Utils::hash now throws an exception when the stream cannot seek to 0.

    Open source →
  8. 1.5.1 10 Aug 2014
    Release notes

    getMetadata is called rather than returning a value from a cache.

    • Properly closing all underlying streams when AppendStream is closed.
    • Seek functions no longer throw exceptions.
    • LazyOpenStream now correctly returns the underlying stream resource when
      detached.
    Open source →
    Release notes
    • Stream metadata is grabbed from the underlying stream each time getMetadata is called rather than returning a value from a cache.

    • Properly closing all underlying streams when AppendStream is closed.

    • Seek functions no longer throw exceptions.

    • LazyOpenStream now correctly returns the underlying stream resource when detached.

    Open source →
  9. 1.5.0 08 Aug 2014
    Release notes

    Adding a safe_open function. Tagging release

    Open source →
    Release notes
    • Added Stream\safe_open to open stream resources and throw exceptions instead of raising errors.

    Open source →
  10. 1.4.0 19 Jul 2014
    Release notes
    • Added a LazyOpenStream

    Open source →
  11. 1.3.0 15 Jul 2014
    Release notes
    • Added an AppendStream to stream over multiple stream one after the other.

    Open source →
  12. 1.2.0 15 Jul 2014
    Release notes
    • Updated the detach() method to return the underlying stream resource or null if it does not wrap a resource.

    • Multiple fixes for how streams behave when the underlying resource is detached

    • Do not clear statcache when a stream does not have a 'uri'

    • Added a fix to LimitStream

    • Added a condition to ensure that functions.php can be required multiple times

    Open source →
  13. 1.1.0 03 Apr 2014

    Nothing published for this version

  14. 1.0.0 25 Mar 2014

    Nothing published for this version

  15. 1.0.0-rc.2 17 Mar 2014 pre-release

    Nothing published for this version

  16. 1.0.0-rc.1 12 Mar 2014 pre-release

    Nothing published for this version

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