PHPackages                             iterator-tools/pipeline - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. iterator-tools/pipeline

ActiveLibrary

iterator-tools/pipeline
=======================

Tools to work with iterators including lazy evaluation

v0.1.0(3y ago)016MITPHPPHP ^7.4 || ^8.0CI failing

Since Jan 2Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/mateusz-kolecki/iterator-tools)[ Packagist](https://packagist.org/packages/iterator-tools/pipeline)[ RSS](/packages/iterator-tools-pipeline/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

Iterator Tools
==============

[](#iterator-tools)

[![Build status](https://github.com/mateusz-kolecki/iterator-tools/actions/workflows/pipeline.yml/badge.svg?branch=master)](https://github.com/mateusz-kolecki/iterator-tools/actions/workflows/pipeline.yml/badge.svg?branch=master)

Library provides tools for working with iterators in a convenient way. Promotes functional style of programming when dealing with `iterable` collections.

Install using Composer:
-----------------------

[](#install-using-composer)

```
composer require iterator-tools/pipeline
```

Example:
--------

[](#example)

Allows defining iterators pipeline separately from actually consuming it. Allows processing large collections by avoiding loading all data into the memory at once - each key, value pair returned by source iterator is passed by multiple stages separately.

```
