An open API service indexing awesome lists of open source software.

https://github.com/php-fast-forward/iterators

A robust and optimized library for advanced PHP Iterators. Enhance your PHP applications with high-performance iterators, supporting lookahead, peeking, filtering, grouping, and more.
https://github.com/php-fast-forward/iterators

iterate iteration iterator php-library

Last synced: 4 months ago
JSON representation

A robust and optimized library for advanced PHP Iterators. Enhance your PHP applications with high-performance iterators, supporting lookahead, peeking, filtering, grouping, and more.

Awesome Lists containing this project

README

          

# FastForward\Iterators

[![PHP Version](https://img.shields.io/badge/php-7.4%20%7C%208.0%2B-blue.svg)](https://www.php.net/)
[![License](https://img.shields.io/github/license/php-fast-forward/iterators)](https://opensource.org/licenses/MIT)

A robust and optimized library for advanced PHP Iterators.
Enhance your PHP applications with high-performance iterators, supporting lookahead, peeking, filtering, grouping, and more.

## โœจ Features

- ๐Ÿ” Advanced and composable iterator types
- ๐Ÿ‘€ Lookahead and peeking support
- ๐Ÿงผ Filtering and mapping
- ๐Ÿงฉ Grouping, chunking, and flattening
- ๐Ÿงช Fully tested, mutation safe, and statically analyzed

## ๐Ÿ“ฆ Installation

Install via Composer:

```bash
composer require fast-forward/iterators
```

## ๐Ÿ›  Usage

This package provides various iterator utilities under the `FastForward\Iterator` namespace.

Check out the [`examples/`](https://github.com/php-fast-forward/iterators/tree/main/examples) directory for hands-on usage of each iterator.

## ๐Ÿง‘โ€๐Ÿ’ป Author

**Felipe Sayรฃo Lobato Abreu**

## ๐Ÿ“„ License

This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).