PackageTrack
Sign in Get early access

clue/stream-filter

A simple and modern approach to stream filtering in PHP

v1.7.0 286M downloads/mo #241 most downloaded on Packagist clue/stream-filter

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Ships fairly regularly

a new release about every 1.6 years

Nearly every release is documented

notes for 9 of 9 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

9 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

9 releases · Oct 2015 to Dec 2023
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 9
  1. v1.7.0 20 Dec 2023
    Release notes
    Open source →
    Release notes
    • Feature: Full PHP 8.3 and PHP 8.2 compatibility. (#51 by @yadaiio and #50 by @clue)

    • Feature / Fix: Improve error reporting when custom error handler is used. (#47 by @SimonFrings)

    • Improve test suite and ensure 100% code coverage. (#46 by @SimonFrings, #48 and #50 by @clue and #51 by @yadaiio)

    Open source →
  2. v1.6.0 21 Feb 2022
    Release notes
    Open source →
    Release notes
    • Feature: Support PHP 8.1 release. (#45 by @clue)

    • Improve documentation to use fully-qualified function names. (#43 by @SimonFrings and #42 by @PaulRotmann)

    • Improve test suite and use GitHub actions for continuous integration (CI). (#39 and #40 by @SimonFrings)

    Open source →
  3. v1.5.0 02 Oct 2020
    Release notes
    • Feature: Improve performance by using global imports.
      (#38 by @clue)

    • Improve API documentation and add support / sponsorship info.
      (#30 by @clue and #35 by @SimonFrings)

    • Improve test suite and add .gitattributes to exclude dev files from exports.
      Prepare PHP 8 support, update to PHPUnit 9 and simplify test matrix.
      (#32 and #37 by @clue and #34 and #36 by @SimonFrings)

    Open source →
    Release notes
    • Feature: Improve performance by using global imports. (#38 by @clue)

    • Improve API documentation and add support / sponsorship info. (#30 by @clue and #35 by @SimonFrings)

    • Improve test suite and add .gitattributes to exclude dev files from exports. Prepare PHP 8 support, update to PHPUnit 9 and simplify test matrix. (#32 and #37 by @clue and #34 and #36 by @SimonFrings)

    Open source →
  4. v1.4.1 09 Apr 2019
    Release notes
    • Fix: Check if the function is declared before declaring it.
      (#23 by @Niko9911)

    • Improve test suite to also test against PHP 7.2 and
      add test for base64 encoding and decoding filters.
      (#22 by @arubacao and #25 by @Nyholm and @clue)

    Open source →
    Release notes
    • Fix: Check if the function is declared before declaring it. (#23 by @Niko9911)

    • Improve test suite to also test against PHP 7.2 and add test for base64 encoding and decoding filters. (#22 by @arubacao and #25 by @Nyholm and @clue)

    Open source →
  5. v1.4.0 18 Aug 2017
    Release notes
    • Feature / Fix: The fun() function does not pass filter parameter null
      to underlying stream_filter_append() by default
      (#15 by @Nyholm)

      Certain filters (such as convert.quoted-printable-encode) do not accept
      a filter parameter at all. If no explicit filter parameter is given, we no
      longer pass a default null value.

      $encode = Filter\fun('convert.quoted-printable-encode');
      assert('t=C3=A4st' === $encode('täst'));
    • Add examples and improve documentation
      (#13 and #20 by @clue and #18 by @Nyholm)

    • Improve test suite by adding PHPUnit to require-dev,
      fix HHVM build for now again and ignore future HHVM build errors,
      lock Travis distro so new future defaults will not break the build
      and test on PHP 7.1
      (#12, #14 and #19 by @clue and #16 by @Nyholm)

    Open source →
    Release notes
    • Feature / Fix: The fun() function does not pass filter parameter null to underlying stream_filter_append() by default (#15 by @Nyholm)

      Certain filters (such as convert.quoted-printable-encode) do not accept a filter parameter at all. If no explicit filter parameter is given, we no longer pass a default null value.

      $encode = Filter\fun('convert.quoted-printable-encode');
      assert('t=C3=A4st' === $encode('täst'));
      
    • Add examples and improve documentation (#13 and #20 by @clue and #18 by @Nyholm)

    • Improve test suite by adding PHPUnit to require-dev, fix HHVM build for now again and ignore future HHVM build errors, lock Travis distro so new future defaults will not break the build and test on PHP 7.1 (#12, #14 and #19 by @clue and #16 by @Nyholm)

    Open source →
  6. v1.3.0 08 Nov 2015
    Release notes
    • Feature: Support accessing built-in filters as callbacks
      (#5 by @clue)

      $fun = Filter\fun('zlib.deflate');
      
      $ret = $fun('hello') . $fun('world') . $fun();
      assert('helloworld' === gzinflate($ret));
    Open source →
    Release notes
    • Feature: Support accessing built-in filters as callbacks (#5 by @clue)

      $fun = Filter\fun('zlib.deflate');
      
      $ret = $fun('hello') . $fun('world') . $fun();
      assert('helloworld' === gzinflate($ret));
      
    Open source →
  7. v1.2.0 23 Oct 2015
    Release notes
    • Feature: Invoke close event when closing filter (flush buffer)
      (#9 by @clue)
    Open source →
    Release notes
    • Feature: Invoke close event when closing filter (flush buffer) (#9 by @clue)
    Open source →
  8. v1.1.0 22 Oct 2015
    Release notes
    • Feature: Abort filter operation when catching an Exception
      (#10 by @clue)
    • Feature: Additional safeguards to prevent filter state corruption
      (#7 by @clue)
    Open source →
    Release notes
    • Feature: Abort filter operation when catching an Exception (#10 by @clue)

    • Feature: Additional safeguards to prevent filter state corruption (#7 by @clue)

    Open source →
  9. v1.0.0 18 Oct 2015
    Release notes
    • First tagged release
    Open source →
    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