PHPackages                             ilmala/tourney - 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. ilmala/tourney

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

ilmala/tourney
==============

A simple random tournament generator

0.1.1(3y ago)09MITPHPPHP ^8.1

Since Oct 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ilmala/tourney)[ Packagist](https://packagist.org/packages/ilmala/tourney)[ Docs](https://github.com/ilmala/tourney)[ RSS](/packages/ilmala-tourney/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Tourney
=======

[](#tourney)

A simple random tournament generator

Features:

- From 3 to 30 teams tournament
- Even and Odd team number with rest turn

How to use:

```
use Tourney\Tourney;

$teamNames = [
    'Bayern Monaco',
    'Olimpia Milano',
    'Partizan',
    'Virtus Bologna'
];

$tournament = (new Tourney())->generate(
    participants: $teams,
);
```

Print out results:

```
// Basic Loop
foreach ($tournament->turns() as $turn) {
    echo "Turn {$turn->number()}";
    foreach ($turn->games() as $game) {
        echo "{$game->description()}";
    }
    echo "";
}
```

Team can be an instance of `Tourney\Models\Team` class:

```
$team = new \Tourney\Models\Team(
    name: 'Olimpia Milano',
    key: 'OM-01',
);

$team->name(); // The name of the Team
$team->key(); // Maybe a reference key of your application team model
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1297d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/43faf75a8f5ae1548225dbe8add884d5cffe76c86092ea4ef53578ac96f5abb2?d=identicon)[ilmala](/maintainers/ilmala)

---

Top Contributors

[![ilmala](https://avatars.githubusercontent.com/u/1785041?v=4)](https://github.com/ilmala "ilmala (2 commits)")

---

Tags

generatortournament

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/ilmala-tourney/health.svg)

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

###  Alternatives

[illuminate/events

The Illuminate Events package.

13454.3M1.8k](/packages/illuminate-events)[illuminate/session

The Illuminate Session package.

9937.4M753](/packages/illuminate-session)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.5M178](/packages/illuminate-broadcasting)[illuminate/redis

The Illuminate Redis package.

8314.0M314](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.3M122](/packages/illuminate-cookie)

PHPackages © 2026

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