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. | 968 | 1,001 | 51 | 191K | 9 | 10.4 | 35.2 | Apache-2.0 | 4 years ago | |
| bentools/iterable-functions | 0.84 | 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 | |
| lstrojny/functional-php | 0.82 | 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,989 | 1,995 | 205 | 59K | 8 | 33.9 | 28.7 | MIT | 4 months 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. | 38 | 38 | 6 | 28K | 1 | 9.5 | 39.4 | MIT | 1 year ago | |
| cakephp/collection | 0.82 | 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. | 91 | 97 | 6 | 51K | 0 | 0.6 | 37.9 | NOASSERTION | — | |
| nikic/iter | 0.82 | 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,142 | 1,150 | 70 | 154K | 9 | 14.9 | 34.4 | NOASSERTION | 2 years ago | |
| anahkiasen/underscore-php | 0.81 | 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,109 | 1,108 | 89 | 26K | 29 | 8.8 | 21.5 | — | — | |
| 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 | 223 | 1 | 2.7 | 29.7 | MIT | 2 years ago | |
| 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 | 7K | 0 | 2.5 | 41.0 | MIT | 3 years ago | |
| cscfa_tool_division/collections | 0.81 | — | 0 | 1 | 0 | 0 | 0 | 0.6 | — | MIT | 9 years ago | |
| phrity/util-transformer | 0.80 | 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 | 37K | 0 | 10.5 | 59.5 | MIT | 7 months 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.9 | MIT | 6 years ago | |
| spiral/pagination | 0.80 | 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. | 5 | 4 | 0 | 29K | 0 | 3.0 | 51.0 | MIT | 7 years ago | |
| digitalrevolution/utils | 0.80 | — | 1 | 1 | 8 | 2K | 1 | 26.0 | 48.1 | MIT | 2 months ago | |
| atournayre/collection | 0.80 | 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 | |
| hanneskod/classtools | 0.79 | 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 | 55K | 2 | 2.3 | 37.3 | WTFPL | — | |
| tightenco/collect | 0.79 | 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 | 111 | 121K | 3 | 10.4 | 19.4 | — | 3 years ago | |
| spatie/array-functions | 0.79 | 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 | 39 | 1K | 0 | 6.6 | 11.6 | MIT | 1 year ago | |
| mpociot/pipeline | 0.79 | 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 | 23K | 0 | 1.8 | 30.8 | — | 9 years ago | |
| denisok94/helper | 0.79 | A small Laravel/PHP helper package providing convenience functions to speed up everyday development tasks. Useful for common utilities and shortcuts so you can reduce boilerplate across projects. | 1 | 1 | 0 | 2 | 0 | 27.4 | 4.9 | BSD-3-Clause | 1 week ago |
How can I help you explore Laravel packages today?