PHPackages                             burak-sevinc/tournament-round-generator - 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. burak-sevinc/tournament-round-generator

ActiveLibrary

burak-sevinc/tournament-round-generator
=======================================

A PHP library for generating tournament rounds with helpful calculations.

1.0.0(2y ago)33MITPHPPHP ^7.4|^8.0|^8.1

Since Jan 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/burak-sevinc/tournament-round-generator)[ Packagist](https://packagist.org/packages/burak-sevinc/tournament-round-generator)[ RSS](/packages/burak-sevinc-tournament-round-generator/feed)WikiDiscussions main Synced 1mo ago

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

Tournament Round Generator
==========================

[](#tournament-round-generator)

[![Packagist](https://camo.githubusercontent.com/286de7d14a3ca73294586fd1cc7f72f40b5eac37527bcc626b4feb2be3548970/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f627572616b2d736576696e632f746f75726e616d656e742d726f756e642d67656e657261746f72)](https://packagist.org/packages/burak-sevinc/tournament-round-generator)[![Licence](https://camo.githubusercontent.com/c48bc1163f2e89cb249e2b3e130dd97705084787a84adfc4f3451f94dcc67bec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f627572616b2d736576696e632f746f75726e616d656e742d726f756e642d67656e657261746f72)](https://packagist.org/packages/burak-sevinc/tournament-round-generator)

A PHP library for generating tournament rounds with helpful calculations

Getting Started
---------------

[](#getting-started)

```
composer require burak-sevinc/tournament-round-generator
```

Usage
-----

[](#usage)

Single elimination examples:

```
use BurakSevinc\TournamentRoundGenerator\SingleElimination;
```

```
$teamCount         = 8;
$singleElimination = new SingleElimination($teamCount);

$roundCount      = $singleElimination->getRoundCount();
$roundsArr       = $singleElimination->getRounds();
$matches         = $singleElimination->getMatches();
$roundOne        = $singleElimination->getMatchesByRoundId(1);
$withNextMatchId = $singleElimination->addNextMatchId();
```

Roadmap
-------

[](#roadmap)

- Single elimination
- Double elimination

Contact
-------

[](#contact)

Burak Sevinç - [@buraksevincdev](https://twitter.com/buraksevincdev) -

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

848d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d97ef1d50c3b1edffe6527713adaad1dd33f6d96d25c384214fcf1953f0f3ea3?d=identicon)[burak-sevinc](/maintainers/burak-sevinc)

---

Top Contributors

[![burak-sevinc](https://avatars.githubusercontent.com/u/33890174?v=4)](https://github.com/burak-sevinc "burak-sevinc (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/burak-sevinc-tournament-round-generator/health.svg)

```
[![Health](https://phpackages.com/badges/burak-sevinc-tournament-round-generator/health.svg)](https://phpackages.com/packages/burak-sevinc-tournament-round-generator)
```

PHPackages © 2026

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