bentools/iterable-functions
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bentools/cartesian-product | 0.85 | Generate the cartesian product (all combinations) from a multidimensional array with a low-memory iterator. Supports dynamic values via closures that can inspect the partial combination. Iterate results or dump them to an array when needed. | 87 | 87 | 12 | 12K | 0 | 2.9 | 29.3 | MIT | 1 year ago | |
| event-engine/php-engine-utils | 0.84 | 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 | |
| michael-rubel/laravel-loop-functions | 0.83 | Laravel Loop Functions provides handy helper functions for writing cleaner loops in Laravel, offering concise, readable alternatives to native PHP iteration when processing arrays and collections. A lightweight package that keeps repeated loop logic simple and expressive. | 17 | 18 | 2 | 30 | 0 | 0.2 | 4.2 | MIT | 3 years ago | |
| loophp/phpunit-iterable-assertions | 0.83 | 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 | 170 | 1 | 2.7 | 28.1 | MIT | 2 years ago | |
| ashleydawson/simple-pagination | 0.83 | 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 | 666 | 1 | 3.0 | 21.5 | MIT | 7 years ago | |
| igorw/get-in | 0.83 | — | 395 | 395 | 23 | 159K | 1 | 3.1 | 36.7 | MIT | — | |
| myerscode/utilities-bags | 0.82 | Immutable “Bag” utilities for fluent manipulation of collection/array data in PHP. Provides a helper class with chainable methods for reading, transforming, and managing data safely without mutation; includes usage and method docs, plus tests and coverage. | 1 | 1 | 0 | 502 | 0 | 20.3 | 39.0 | MIT | 6 days 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,982 | 1,996 | 201 | 60K | 8 | 27.8 | 27.5 | MIT | 7 months ago | |
| flow-php/array-dot | 0.82 | Flow PHP Array Dot adds easy dot-notation access to PHP arrays. Read, set, and manipulate deeply nested values with a clean API—ideal for config data, decoded JSON, and complex structures—making array handling clearer and less error-prone. | 13 | 14 | 5 | 45K | 0 | 0.2 | 48.4 | MIT | — | |
| voku/arrayy | 0.82 | — | 489 | 492 | 33 | 99K | 3 | 4.4 | 33.3 | MIT | — | |
| phpcollection/phpcollection | 0.82 | 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. | 960 | 996 | 49 | 222K | 9 | 10.3 | 36.1 | Apache-2.0 | 4 years ago | |
| hoa/iterator | 0.82 | Hoa\Iterator is a PHP library offering a comprehensive collection of iterator classes and helpers, including filters, maps, limits, aggregates, and recursive traversals, for composing elegant, reusable iteration logic over arrays and other traversable data. | 332 | 337 | 24 | 690K | 2 | 1.4 | 32.5 | — | 9 years ago | |
| spatie/array-functions | 0.82 | 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 | 38 | 5K | 0 | 6.6 | 18.7 | MIT | 1 year ago | |
| 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 | 50K | 0 | 21.5 | 64.8 | MIT | 1 week ago | |
| minwork/array | 0.82 | 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 | 12 | 7K | 1 | 5.4 | 27.8 | MIT | 6 years ago | |
| php-standard-library/collection | 0.81 | Generic, object-oriented Vector, Map, and Set collections for PHP, available in both immutable and mutable variants. Part of the PHP Standard Library, offering a consistent, type-safe API for building and transforming collections. | 1 | 1 | 0 | 54K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| loophp/iterators | 0.81 | 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 | 7 | 30K | 1 | 9.5 | 39.9 | MIT | 2 years ago | |
| nikic/iter | 0.80 | 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 | 185K | 9 | 14.9 | 35.1 | NOASSERTION | 2 years ago | |
| bentools/helpfultraits | 0.80 | Deprecated, unmaintained repository of small PHP helper traits. No longer maintained and may be removed soon; consider forking if you still depend on it. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| phootwork/collection | 0.80 | 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. | 38 | 40 | 3 | 1M | 0 | 8.1 | 55.3 | MIT | 2 years ago |
How can I help you explore Laravel packages today?