loophp/iterators
loophp/iterators adds “missing” PHP iterators and iterator aggregates for lazy, composable pipelines: caching rewindable generators, chunk/map/filter/reduce/sort/unique/concat/pack/unpack, plus typed, random, recursive, and resource-based iterables.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/iter | 0.82 | Inspect and reduce any PHP iterable (arrays, generators, iterators) with small, focused helpers from PHP Standard Library - Iter. Designed for common iteration tasks and consistent behavior across iterable types. | 1 | 1 | 0 | 34K | 0 | 19.1 | 63.9 | MIT | 2 months ago | |
| bentools/iterable-functions | 0.81 | Small PHP utility package offering array-like helpers for any iterable (arrays, Traversable, generators): iterable_to_array/to_traversable, map, merge, reduce, filter, values, and chunk—write iterable-agnostic code without TypeError surprises. | 23 | 23 | 4 | 12K | 0 | 4.8 | 37.5 | MIT | 2 years ago | |
| cscfa_tool_division/collections | 0.80 | — | 0 | 1 | 0 | 0 | 0 | 0.6 | — | MIT | 9 years ago | |
| event-engine/php-engine-utils | 0.80 | Utilities for Event Engine in PHP: helper classes and shared tooling to simplify building and running Event Engine-based applications. Includes common infrastructure utilities and convenience functions to reduce boilerplate in your event-driven domain code. | 6 | 6 | 3 | 9K | 0 | 2.5 | 42.7 | MIT | 3 years ago | |
| loophp/collection | 0.79 | A high-performance, functional-style collection library for PHP. Provides lazy, immutable, chainable operations built on generators to map, filter, reduce, group, zip, and more. Works standalone or with Laravel, aiming for speed, memory efficiency, and fluent pipelines. | 743 | 747 | 34 | 36K | 1 | 13.9 | 23.4 | MIT | 1 year ago | |
| nikic/iter | 0.79 | nikic/iter is a small PHP library for working with iterables and generators. It provides lazy, functional-style helpers like map, filter, reduce, and chain to build efficient pipelines over arrays and Traversables without extra memory overhead. | 1,141 | 1,150 | 70 | 154K | 9 | 14.9 | 34.5 | NOASSERTION | 2 years ago | |
| loophp/phpunit-iterable-assertions | 0.78 | PHPUnit helper assertions for iterables. Adds convenient, fluent checks for arrays and Traversables to simplify and clarify test expectations when working with generators, collections, and other iterable data sources. | 2 | 2 | 0 | 223 | 1 | 2.7 | 29.7 | MIT | 2 years ago | |
| hanneskod/classtools | 0.78 | Scan the filesystem for PHP classes, interfaces, and traits using Symfony Finder. Build a class-to-file map, detect parse/syntax errors, and iterate results as ReflectionClass objects, with optional autoloading for discovered classes. | 130 | 133 | 31 | 51K | 2 | 2.3 | 36.9 | WTFPL | — | |
| th3n3rd/cartesian-product | 0.78 | Memory-efficient Cartesian Product generator for PHP. Uses iterators to yield one tuple at a time, letting you handle very large combinations without big memory usage. Build products via fluent with() calls or CartesianProduct::of(), iterate or toArray(). | 13 | 14 | 5 | 36K | 0 | 14.0 | 52.7 | MIT | 4 months ago | |
| php-standard-library/collection | 0.77 | Generic, object-oriented Vector, Map, and Set collections for PHP with both immutable and mutable variants. Part of PHP Standard Library; designed for a consistent, type-friendly API. Full docs at php-standard-library.dev. | 1 | 1 | 0 | 40K | 0 | 18.4 | 63.5 | MIT | 2 months ago | |
| derafu/data-processor | 0.77 | Laravel/PHP data processing toolkit for defining, transforming, validating, and exporting datasets through a consistent pipeline. Provides reusable processors and helpers to normalize inputs, run rules, and produce clean output for apps, imports, and integrations. | 0 | 0 | 0 | 58 | 0 | 0.0 | 24.5 | MIT | — | |
| ashleydawson/simple-pagination | 0.77 | Framework-agnostic pagination library for PHP. Provide callbacks to count total items and fetch a slice (offset/length), and it returns a Pagination object with items plus page metadata and ranges. Works with arrays, DB lists, Doctrine, Solr, and more. | 18 | 19 | 5 | 311 | 1 | 3.0 | 17.1 | MIT | 7 years ago | |
| beberlei/porpaginas | 0.77 | — | 164 | 165 | 19 | 10K | 0 | 15.4 | 28.0 | — | 4 months ago | |
| tightenco/collect | 0.77 | A standalone port of Laravel’s Illuminate\Support\Collection for non-Laravel projects. Get expressive, chainable, higher-order methods like map, filter, reduce, pluck, groupBy, and more with minimal dependencies—ideal for any PHP app. | 1,495 | 1,541 | 110 | 120K | 3 | 10.3 | 19.3 | — | 3 years ago | |
| atournayre/collection | 0.76 | Type-safe PHP collections with list/map factories, plus immutable variants. Includes DecimalValue collections with consistent precision handling. Build domain-specific collections by extending TypedCollection to enforce item types and safe manipulation. | 0 | 0 | 0 | 0 | 0 | 3.6 | — | MIT | 2 years ago | |
| phootwork/collection | 0.75 | phootwork/collection is a lightweight PHP collection library providing convenient data structures and fluent helpers to work with arrays and iterables. Includes common operations like map/filter/reduce, searching, sorting, and easy conversion between collection types. | 39 | 40 | 4 | 1M | 0 | 8.1 | 55.3 | MIT | 1 year ago | |
| sanmai/pipeline | 0.75 | sanmai/pipeline is a lightweight PHP pipeline library to process data through a chain of stages. Compose reusable, testable transformations with clear input/output flow, and plug in custom middleware-like steps for flexible processing in any app. | 75 | 78 | 6 | 1M | 14 | 34.2 | 71.1 | Apache-2.0 | 4 days ago | |
| giorgiosironi/eris | 0.70 | Eris brings QuickCheck-style property-based testing to PHP and PHPUnit. Define properties, generate many random inputs, and find minimal counterexamples automatically. Works with PHP 8.1–8.4 and PHPUnit 10–13. | 440 | 442 | 36 | 127K | 7 | 21.1 | 40.9 | MIT | 4 months ago | |
| infection/infection | 0.70 | Infection is a PHP mutation testing framework that measures how well your tests detect small code changes. Run it in CI to get a Mutation Score Indicator (MSI), uncover weak assertions, and improve test quality. PHP 8.3+. | 2,230 | 2,233 | 190 | 996K | 168 | 67.4 | 70.0 | BSD-3-Clause | 11 hours ago | |
| infection/include-interceptor | 0.68 | PHP stream wrapper that intercepts the file:// protocol to override the content of any included or autoloaded file at runtime. Register a mapping from original file to replacement, enable the interceptor, and includes/file_get_contents load the replacement instead. | 31 | 31 | 3 | 1M | 3 | 17.8 | 63.2 | BSD-3-Clause | 3 months ago |
How can I help you explore Laravel packages today?