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

ActiveLibrary

boraguler/round-robin
=====================

RoundRobin for Laravel 5.8+ and above...

v1.0.4(1y ago)036MITPHPPHP &gt;=7.1.3 &lt;9.0CI failing

Since Apr 2Pushed 1y agoCompare

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

READMEChangelog (4)Dependencies (3)Versions (6)Used By (0)

RoundRobin for Laravel 5.8+
===========================

[](#roundrobin-for-laravel-58)

[![Latest Stable Version](https://camo.githubusercontent.com/fb6faf8f87ad740175967ff136b678e26257219f701f59a4f8b1b4ddcfbb2d84/68747470733a2f2f706f7365722e707567782e6f72672f626f726167756c65722f726f756e642d726f62696e2f762f737461626c65)](https://packagist.org/packages/boraguler/round-robin) [![Total Downloads](https://camo.githubusercontent.com/61a70f0c2c385a1c5a22c6f39e10435819371b992f30766b3dfc700c11e4cd4b/68747470733a2f2f706f7365722e707567782e6f72672f626f726167756c65722f726f756e642d726f62696e2f646f776e6c6f616473)](https://packagist.org/packages/boraguler/round-robin)[![Monthly Downloads](https://camo.githubusercontent.com/ddd30b1f77dc8ce80be8b2542cc4f675bcd763234312ebd570e866dc52b5acc0/68747470733a2f2f706f7365722e707567782e6f72672f626f726167756c65722f726f756e642d726f62696e2f642f6d6f6e74686c79)](https://packagist.org/packages/boraguler/round-robin) [![Latest Unstable Version](https://camo.githubusercontent.com/ec2caf7dad1a86397ea2adf84b33e771a1a2b4f2cd6f024771ef9957fe7c3ef6/68747470733a2f2f706f7365722e707567782e6f72672f626f726167756c65722f726f756e642d726f62696e2f762f756e737461626c65)](https://packagist.org/packages/boraguler/round-robin)[![License](https://camo.githubusercontent.com/d153adbdbe6e5b93e595ed7a8342bb54ccb4bca7f1727672d6ca86c4c8f19346/68747470733a2f2f706f7365722e707567782e6f72672f626f726167756c65722f726f756e642d726f62696e2f6c6963656e7365)](https://packagist.org/packages/boraguler/round-robin)

BoraGuler\\Round-Robin is an easy way to create schedule with round-robin(rr) technique.

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

[](#installation)

1. In order to install BoraGuler\\Round-Robin, just add the following to your composer.json. Then run `composer update`:

```
"boraguler/round-robin": "1.0.*"
```

or run `composer require boraguler/round-robin`

2. Open your `config/app.php` and add the following to the `providers` array:

```
BoraGuler\RoundRobin\RoundRobinServiceProvider::class,
```

3. Open your `config/app.php` and add the following to the `facades` array:

```
'RoundRobin' => boraguler\RoundRobin\RoundRobinFacade::class,
```

Controllers and etc
-------------------

[](#controllers-and-etc)

```
use BoraGuler\RoundRobin\RoundRobin;
```

Using (Examples)
----------------

[](#using-examples)

Setuping (without Facade):

```
$teams = ['Galatasaray', 'Arsenal', 'Atlético de Madrid', 'Borussia', 'Barcelona','Liverpool', 'Bayer 04', 'Real Madrid'];
$schedule = new RoundRobin($teams)->make();
// or with 'from' static method
$schedule = RoundRobin::from($teams)->make();
```

With a facade:

```
$teams = ['Galatasaray', 'Arsenal', 'Atlético de Madrid', 'Borussia', 'Barcelona','Liverpool', 'Bayer 04', 'Real Madrid'];
$schedule = RoundRobin::from($teams)->make();
```

Generate a schedule without randomly shuffling the teams using the $shuffle boolean parameter:

```
$teams = ['Galatasaray', 'Arsenal', 'Atlético de Madrid', 'Borussia', 'Barcelona','Liverpool', 'Bayer 04', 'Real Madrid'];
$schedule = RoundRobin::from($teams)->doNotShuffle()->make();
```

Use your own seed with the $seed integer parameter for predetermined shuffling:

```
$teams = ['Galatasaray', 'Arsenal', 'Atlético de Madrid', 'Borussia', 'Barcelona','Liverpool', 'Bayer 04', 'Real Madrid'];
$schedule = RoundRobin::from($teams)->shuffle(15)->make();
```

If you want to pre-define round number (default = 1):

```
$teams = ['Galatasaray', 'Arsenal', 'Atlético de Madrid', 'Borussia', 'Barcelona','Liverpool', 'Bayer 04', 'Real Madrid'];
$schedule = RoundRobin::from($teams)->rounds(3)->make();
```

If you want a double Round-robin:

```
$teams = ['Galatasaray', 'Arsenal', 'Atlético de Madrid', 'Borussia', 'Barcelona','Liverpool', 'Bayer 04', 'Real Madrid'];
$schedule = RoundRobin::from($teams)->doubleRoundRobin()->make();
```

If you want a get a *Schedule* Object:

```
$teams = ['Galatasaray', 'Arsenal', 'Atlético de Madrid', 'Borussia', 'Barcelona','Liverpool', 'Bayer 04', 'Real Madrid'];
$schedule = RoundRobin::from($teams)->makeSchedule();
```

License
-------

[](#license)

BoraGuler Round-Robin is free software distributed under the terms of the MIT license.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance45

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity77

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

Total

5

Last Release

424d ago

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

v1.0.4PHP &gt;=7.1.3 &lt;9.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a10f5dbdf1d5426faba8ad475664b44d056951002dec3b2c30ba521becd1f01?d=identicon)[boraguler](/maintainers/boraguler)

---

Top Contributors

[![boraguler](https://avatars.githubusercontent.com/u/22474910?v=4)](https://github.com/boraguler "boraguler (19 commits)")

---

Tags

laravelroundrobinround-robinroundrobin

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[mnito/round-robin

Round-robin schedule generation implementation in PHP

6169.4k](/packages/mnito-round-robin)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)

PHPackages © 2026

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