PHPackages                             estbase/round-robin - 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. estbase/round-robin

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

estbase/round-robin
===================

Package to generate Round-robin schedule for a tournament.

v2.0.0(2y ago)2106MITPHPPHP ^8.3

Since May 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/estbase/round-robin)[ Packagist](https://packagist.org/packages/estbase/round-robin)[ RSS](/packages/estbase-round-robin/feed)WikiDiscussions master Synced 2w ago

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

[![](https://camo.githubusercontent.com/b5e4d5099a5bc09f25345b4968ce398c3d3de27deacc7259c3d6c11018be7eaa/68747470733a2f2f692e696d6775722e636f6d2f71353467394e432e706e67)](https://camo.githubusercontent.com/b5e4d5099a5bc09f25345b4968ce398c3d3de27deacc7259c3d6c11018be7eaa/68747470733a2f2f692e696d6775722e636f6d2f71353467394e432e706e67)

[![Travis (.org)](https://camo.githubusercontent.com/3169f49fb56612962426a601b90c9b98372a71829dc221584ba42acb275c0694/68747470733a2f2f6170692e7472617669732d63692e636f6d2f657374626173652f726f756e642d726f62696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/estbase/round-robin)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](https://opensource.org/licenses/MIT)

EST Base Packages
=================

[](#est-base-packages)

- RoundRobin Schedule Generator
- TBC

About Round-Robin EST Package
-----------------------------

[](#about-round-robin-est-package)

This package will generate a tournament or seasonal calendar instantly, through the round-robin system.

Based on code of:

Features
--------

[](#features)

- Schedule generation by Round-robin system
- Support for any number of teams (Indicated for no more than 12 or 14 teams)
- Ability to generate a number of rounds on demand
- Ability to configure add a bye for odd-numbered team counts
- PHP 8.3
- PHPUnit tested

Installation
------------

[](#installation)

If you use Composer, run on your terminal:

```
composer require estbase/round-robin
```

in other cases add the following line on required packages:

```
"estbase/round-robin": "^2.0"
```

Ready to use!

Usage
-----

[](#usage)

#### Short call, generating a schedule where each player meets every other player once:

[](#short-call-generating-a-schedule-where-each-player-meets-every-other-player-once)

```
$schedule = Schedule::create(['A','B','C','D']);
```

or

```
$teams = ['A','B','C','D'];
$schedule = Schedule::create($teams);
```

#### Generate schedule with personalized number of rounds or on each team plays with other team twice:

[](#generate-schedule-with-personalized-number-of-rounds-or-on-each-team-plays-with-other-team-twice)

```
$teams = ['A','B','C','D'];
$schedule = Schedule::create($teams, 5);
```

or

```
$teams = ['A','B','C','D'];
$rounds = (($count = count($teams)) % 2 === 0 ? $count - 1 : $count) * 2;
$schedule = Schedule::create($teams, $rounds);
```

#### Generate schedule with or without adding a bye for an odd-numbered tournaments:

[](#generate-schedule-with-or-without-adding-a-bye-for-an-odd-numbered-tournaments)

This case generates a Schedule adding a bye.

```
$teams = ['A','B','C','D','E'];
$schedule = Schedule::create($teams);
```

or without it

```
$teams = ['A','B','C','D','E'];
$schedule = Schedule::create($teams, null, false);
```

#### Generate a schedule without randomly shuffling the teams:

[](#generate-a-schedule-without-randomly-shuffling-the-teams)

```
$schedule = Schedule::createSchedule(['A','B','C','D'],null,true, false);
```

#### Using your own seed to generate the schedule with predetermined shuffling:

[](#using-your-own-seed-to-generate-the-schedule-with-predetermined-shuffling)

```
$schedule = Schedule::createSchedule(['A','B','C','D'],null,true, true, 9);
```

License
-------

[](#license)

EST Base round-robin package is free software distributed under the terms of the MIT license.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity76

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 ~1843 days

Total

2

Last Release

767d ago

Major Versions

v1.0.0 → v2.0.02024-05-23

PHP version history (2 changes)v1.0.0PHP ^7.1.3

v2.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/43449334?v=4)[EST Base](/maintainers/estbase)[@estbase](https://github.com/estbase)

---

Top Contributors

[![onavascuez](https://avatars.githubusercontent.com/u/252883?v=4)](https://github.com/onavascuez "onavascuez (13 commits)")

---

Tags

schedulergeneratoresportstournamentsround-robinsportsroundrobinestbase

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/estbase-round-robin/health.svg)

```
[![Health](https://phpackages.com/badges/estbase-round-robin/health.svg)](https://phpackages.com/packages/estbase-round-robin)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k116.2M674](/packages/symfony-maker-bundle)[simplesoftwareio/simple-qrcode

Simple QrCode is a QR code generator made for Laravel.

2.9k29.5M105](/packages/simplesoftwareio-simple-qrcode)[heroyt/tournament-generator

A set of classes used to create multiple kinds of tournament brackets in PHP.

6716.0k](/packages/heroyt-tournament-generator)[symfony/scheduler

Provides scheduling through Symfony Messenger

9012.8M97](/packages/symfony-scheduler)[butschster/cron-expression-generator

Cron expression generator

511.7M2](/packages/butschster-cron-expression-generator)

PHPackages © 2026

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