bentools/cartesian-product
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| th3n3rd/cartesian-product | 0.85 | 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 | |
| coshi/variator | 0.82 | Generate all combinations of parameter values from a simple config array. Supports enums, integer ranges, callbacks/functions, and cross-referenced variations between fields. Iterate results as arrays keyed by parameter name for easy testing or data generation. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 9 years ago | |
| spatie/array-functions | 0.50 | 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 | |
| minwork/array | 0.50 | 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 | 25.0 | MIT | 6 years ago | |
| phootwork/collection | 0.49 | 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 | |
| cakephp/collection | 0.49 | 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 | 65K | 0 | 0.6 | 39.4 | NOASSERTION | — | |
| mathiasgrimm/arraypath | 0.48 | Convenient array manipulation for PHP, especially multidimensional arrays. Safely get, set, check existence, add or remove values using simple “a/b/c” paths, avoiding undefined index notices. Optional class alias (A) for cleaner calls and IDE autocomplete. | 25 | 26 | 7 | 18 | 2 | 1.6 | 2.2 | NOASSERTION | 10 years ago | |
| aimeos/map | 0.48 | High-performance e-commerce framework for Laravel/Lumen (and other PHP apps). Provides products, catalog, basket, checkout, customers, orders and admin UI. Extensible via plugins, supports multiple shops/sites, currencies and languages, and scales well. | 4,317 | 4,311 | 16 | 15K | 1 | 22.2 | 9.1 | MIT | — | |
| rogervila/array-diff-multidimensional | 0.48 | Compute diffs between multidimensional PHP arrays with support for nested structures. Useful for comparing configs, payloads, and serialized data, returning added/removed/changed values so you can detect what changed and where. | 113 | 114 | 16 | 166K | 0 | 8.8 | 45.6 | — | 9 months ago |
How can I help you explore Laravel packages today?