PHPackages                             lucianmariusadam/multicombinator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lucianmariusadam/multicombinator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lucianmariusadam/multicombinator
================================

generate all combinations of multiple arrays

v1.0.2(10y ago)224.6k1[1 PRs](https://github.com/lucianmariusadam/MultiCombinator/pulls)MITPHPPHP &gt;=5.3.0

Since Aug 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lucianmariusadam/MultiCombinator)[ Packagist](https://packagist.org/packages/lucianmariusadam/multicombinator)[ RSS](/packages/lucianmariusadam-multicombinator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

MultiCombinator
===============

[](#multicombinator)

Generates all combination of multiple arrays. Can be used as an iterator using methods like next(), rewind().

Given two arrays, the following code:

$lists = \[ 'a' =&gt; \[ 'A', 'B', 'C' \], 'b' =&gt; \[ 'A', 'B', 'C' \] \]

$c = new MultiCombinator( $lists ); print\_r( $c-&gt;getAll() );

prints an array containing the following combinations: A A A B A C

B A B B B C

C A C B C C

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~16 days

Total

3

Last Release

3895d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b8778d8680bc7f6af15eaf3219d6d95086b0b35e71e92e0f5d701af9f66657e7?d=identicon)[lucianmariusadam](/maintainers/lucianmariusadam)

---

Top Contributors

[![lucianmariusadam](https://avatars.githubusercontent.com/u/12138818?v=4)](https://github.com/lucianmariusadam "lucianmariusadam (3 commits)")

---

Tags

mathcombinatoricscombinationstouple

### Embed Badge

![Health badge](/badges/lucianmariusadam-multicombinator/health.svg)

```
[![Health](https://phpackages.com/badges/lucianmariusadam-multicombinator/health.svg)](https://phpackages.com/packages/lucianmariusadam-multicombinator)
```

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M277](/packages/brick-math)[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.1M40](/packages/markrogoyski-math-php)[phpseclib/bcmath_compat

PHP 5.x-8.x polyfill for bcmath extension

16720.7M17](/packages/phpseclib-bcmath-compat)[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2751.4M5](/packages/rubix-tensor)[jlawrence/eos

Parse and solve math equations without using 'eval()'.

1071.1M11](/packages/jlawrence-eos)[php-decimal/php-decimal

Correctly-rounded arbitrary precision decimal floating point

781.0M9](/packages/php-decimal-php-decimal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
