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.
Full Changelog: https://github.com/bpolaszek/cartesian-product/compare/2.0...2.0.1
filter() method by @bpolaszek in https://github.com/bpolaszek/cartesian-product/pull/13each() method by @bpolaszek in https://github.com/bpolaszek/cartesian-product/pull/13Full Changelog: https://github.com/bpolaszek/cartesian-product/compare/1.5...2.0
Full Changelog: https://github.com/bpolaszek/cartesian-product/compare/1.4.1...1.5
Full Changelog: https://github.com/bpolaszek/cartesian-product/compare/1.4...1.4.1
Full Changelog: https://github.com/bpolaszek/cartesian-product/compare/1.3.1...1.4
Fixed a bug preventing to iterate over the same cartesian product object multiple times. See #6. CI improvements.
Add support for iterators as subsets.
In order to comply with the count() method, the iterable subset must implement \Countable or an \InvalidArgumentException will be raised.
How can I help you explore Laravel packages today?