php-standard-library/iter
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpcollection/phpcollection | 0.84 | PHP Collection provides a flexible, object-oriented collection library for PHP. It offers common collection types and utilities to manage groups of objects consistently, with a clean API and solid documentation. Ideal for domains needing reusable collection abstractions. | 967 | 1,001 | 50 | 231K | 9 | 10.4 | 36.2 | Apache-2.0 | 4 years ago | |
| bentools/iterable-functions | 0.83 | 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 | 10K | 0 | 4.8 | 36.3 | MIT | 2 years ago | |
| loophp/iterators | 0.82 | 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. | 37 | 38 | 6 | 28K | 1 | 9.6 | 39.6 | MIT | 1 year ago | |
| amphp/pipeline | 0.82 | Fiber-safe concurrent iterators and collection operators for PHP 8.1+ using AMPHP. Build pipelines from iterables and consume them safely from multiple fibers with foreach or manual iteration, supporting async sets and concurrent processing. | 76 | 74 | 6 | 2M | 2 | 24.1 | 64.4 | MIT | 4 weeks ago | |
| nikic/iter | 0.81 | 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,145 | 1,151 | 70 | 130K | 9 | 15.0 | 33.4 | NOASSERTION | 1 year ago | |
| loophp/phpunit-iterable-assertions | 0.81 | 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 | 494 | 1 | 2.7 | 34.4 | MIT | 2 years ago | |
| cscfa_tool_division/collections | 0.81 | — | 0 | 1 | 0 | 0 | 0 | 0.6 | — | MIT | 9 years ago | |
| mpociot/pipeline | 0.81 | Lightweight PHP pipeline implementation (based on illuminate/pipeline) without requiring the Illuminate container. Send an object through an array of middleware/handlers and finish with a callback—useful for middleware-style request/command processing. | 136 | 139 | 6 | 24K | 0 | 1.8 | 31.0 | — | 9 years ago | |
| cakephp/collection | 0.81 | CakePHP Collection offers a powerful, fluent API for working with arrays and traversables. Map, filter, reduce, group, sort, extract, and combine data with immutable-style operations and lazy iteration helpers—ideal for clean data pipelines in PHP apps. | 90 | 96 | 6 | 63K | 0 | 0.6 | 39.2 | NOASSERTION | — | |
| event-engine/php-engine-utils | 0.81 | 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 | 6K | 0 | 2.5 | 40.1 | MIT | 2 years ago | |
| spiral/pagination | 0.81 | Spiral Pagination Toolkit provides lightweight, framework-agnostic pagination primitives for PHP apps. Build and pass around page limits/offsets and related metadata cleanly, with strong type safety, tests, and Psalm support. | 4 | 4 | 0 | 22K | 0 | 3.0 | 50.2 | MIT | 7 years ago | |
| php-standard-library/range | 0.80 | Range types for integer sequences with built-in iteration support. Create, traverse, and manipulate numeric ranges with a clean, standard-library style API. Part of the PHP Standard Library project; see docs, contribute, or report issues on GitHub. | 1 | 1 | 0 | 28K | 0 | 21.2 | 64.9 | MIT | 1 week ago | |
| anahkiasen/underscore-php | 0.80 | Underscore.php brings functional helpers to PHP inspired by Underscore.js. Chainable, collection and array utilities like map, filter, reduce, groupBy, sortBy, pluck, and more. Handy for concise data manipulation in any PHP project, including Laravel. | 1,110 | 1,108 | 89 | 31K | 29 | 8.8 | 22.3 | — | — | |
| php-standard-library/vec | 0.80 | php-standard-library/vec provides small, focused helpers for working with sequential 0-indexed arrays (lists). Create, map, filter, transform, and compose list operations with predictable behavior and clean APIs—part of the PHP Standard Library collection. | 1 | 1 | 0 | 31K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| minwork/array | 0.80 | Minwork Array provides fast, well-tested helpers for nested, associative, and object arrays. Get/set/has plus map, filter, find, group, sort, and validation, with fluent-style chaining. No dependencies; modern PHP syntax. | 63 | 66 | 13 | 4K | 1 | 5.4 | 24.1 | MIT | 6 years ago | |
| loophp/collection | 0.80 | 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. | 744 | 746 | 34 | 31K | 1 | 14.0 | 22.8 | MIT | 1 year ago | |
| spatie/array-functions | 0.80 | Handy PHP array utilities from Spatie. Adds small, focused functions in the Spatie namespace (e.g., array_rand_value to pick a random value) to complement built-in array helpers. Install via Composer and use directly in your code. | 245 | 248 | 40 | 2K | 0 | 6.6 | 12.3 | MIT | 1 year ago | |
| ashleydawson/simple-pagination | 0.80 | 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 | 566 | 1 | 3.0 | 20.2 | MIT | 7 years ago | |
| lstrojny/functional-php | 0.80 | Functional PHP adds a rich set of functional programming helpers for PHP: map/filter/reduce, partial application, currying, composition, and collections utilities. Write cleaner, more declarative code without changing your framework or coding style. | 1,987 | 1,994 | 207 | 70K | 8 | 36.7 | 30.4 | MIT | 2 months ago | |
| phrity/util-transformer | 0.79 | Lightweight PHP utility for transforming values between types. Provides transformers with canTransform()/transform(), plus resolvers to chain and recurse converters. Includes JSON/flatten decoders and converters for basic types, DateTime, enums, Stringable, Throwable and more. | 0 | 0 | 0 | 25K | 0 | 12.4 | 60.4 | MIT | 6 months ago |
How can I help you explore Laravel packages today?