PackageTrack
Sign in Get early access

nikic/iter

Iteration primitives using generators

v2.4.1 6.6M downloads/mo #2174 most downloaded on Packagist nikic/iter

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 11 months

Some releases are documented

notes for 5 of 13 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

13 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

13 releases · Jan 2014 to Mar 2024
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 13
  1. v2.4.1 19 Mar 2024
    Release notes
    • Improve typehint for toArray() from array<T> to list<T>.
    Open source →
  2. v2.4.0 10 Dec 2023
    Release notes
    • Added iter\tap() function (#95).
    Open source →
  3. v2.3.0 25 Jul 2023
    Release notes

    This release adds more precise phpdoc type annotations, using templates and specifying callable signatures (#93).

    Open source →
  4. v2.2.0 02 Aug 2021
    Release notes
    • Compatibility with PHP 8.1.
    Open source →
  5. v2.1.0 19 Sep 2020
    Release notes
    • Added iter\slice() method (#80). This works like explode() but produces an iterator.
    • Added iter\mapWithKeys() method (#81). This works like iter\map() but also passes keys as second parameter to the callable.
    Open source →
  6. v2.0.0 12 May 2019

    Nothing published for this version

  7. v1.6.0 10 Nov 2017

    Nothing published for this version

  8. v1.5.0 26 Apr 2017

    Nothing published for this version

  9. v1.4.0 27 Sep 2016

    Nothing published for this version

  10. v1.3.0 25 Aug 2015

    Nothing published for this version

  11. v1.2.0 26 Feb 2015

    Nothing published for this version

  12. v1.1.0 27 Mar 2014

    Nothing published for this version

  13. v1.0.0 01 Jan 2014

    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