Download the PHP package eloquent-works/rating-kit without Composer

On this page you can find all versions of the php package eloquent-works/rating-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rating-kit

Laravel RatingKit ๐Ÿ†

Tests Latest Release

Laravel RatingKit is a comprehensive, extensible rating engine for Laravel applications.

It supports 1v1, 2v2, 3v3, arbitrary N-vs-N team matches, free-for-alls, and competitions containing multiple teams. Ratings can be isolated by game, variant, queue, time control, season, region, or any custom pool.

โœจ Features

๐Ÿงฎ Bundled Algorithms

Key Algorithm Typical use
elo Elo General head-to-head and team competition
elo_mov Margin-of-victory Elo Score-based sports and games
fide FIDE-style Elo Chess-style rating pools
uscf USCF-style Elo Development-sensitive chess ratings
glicko Glicko Ratings with uncertainty
glicko2 Glicko-2 Uncertainty and volatility tracking
weng_lin Weng-Lin / OpenSkill-style Bayesian team and multiplayer ratings
bradley_terry Bradley-Terry Pairwise comparison models
plackett_luce Plackett-Luce Ordered multi-team and free-for-all results
thurstone_mosteller Thurstone-Mosteller Gaussian performance modeling
dwz DWZ-style Development-sensitive chess ratings
egf EGF-style Go-style rating adaptation
ingo Ingo-style Lower-is-stronger historical rating systems
fifa FIFA-style Elo Importance-weighted team competition

Federation-named drivers are configurable practical adaptations. They are not claims of certification by the named federation.

๐Ÿš€ Installation

Install the package through Composer:

Publish the configuration and migrations, then migrate:

Add HasRatings to every model that can receive a rating:

The trait gives the model polymorphic rating relationships and convenient helpers:

A user can own independent ratings for every pool, algorithm, and season. See the full HasRatings guide.

โšก One Player vs One Player

Record a draw:

๐Ÿ‘ฅ Two Players vs Two Players

๐Ÿ›ก๏ธ Three Players vs Three Players

The same API supports 4v4, 5v5, 10v10, or any other team size.

๐ŸŒ Multiple Teams in One Match

Teams may share a rank to represent a tie.

๐Ÿฅ‡ Free-for-All Results

โš–๏ธ Weighted Participants

Use weights for substitutes, partial participation, handicaps, or unequal contribution:

๐Ÿ—‚๏ธ Separate Rating Pools

The same user can hold independent ratings:

Pools work well for:

๐Ÿ“… Seasons

Closing a season automatically captures a final leaderboard for every algorithm used during that season.

๐Ÿ“Š Leaderboards

Use a conservative score based on rating uncertainty:

Competitors with the same score share the same competition rank. Retrieve one competitor's rank:

๐Ÿ”ฎ Match Predictions

The result contains a normalized estimated winning share for each team.

Measure how balanced the proposed match is on a scale from 0.0 to 1.0:

๐Ÿ“ˆ Pool Statistics

The result includes total, established, and provisional counts together with average, median, minimum, and maximum ratings.

๐Ÿงพ Rating History

Every history record can preserve:

โ†ฉ๏ธ Rollback and Voiding

The latest match for every participant can be safely voided:

RatingKit refuses an unsafe rollback when one of the participants already has a later result.

๐Ÿ› ๏ธ Manual Adjustments

Manual changes are written to rating history.

๐Ÿ’ค Inactivity Decay

Decay is disabled by default. When enabled, eligible ratings are adjusted once per configured period after the inactivity threshold. Higher-is-better algorithms move down toward the configured minimum; lower-is-better algorithms move up toward the configured maximum.

๐Ÿงฉ Custom Algorithms

Implement RatingAlgorithm and register it at runtime:

Or add it to config/rating-kit.php:

๐Ÿ“ฃ Events

RatingKit dispatches events for:

Event dispatching can be disabled in configuration.

๐Ÿงฐ Artisan Commands

๐Ÿ“š Documentation

The complete documentation is available in docs/README.md.

โœ… Supported Versions

๐Ÿงช Quality Checks

Or run the complete quality suite:

๐Ÿ” Security

Please review SECURITY.md for responsible vulnerability reporting.

๐Ÿค Contributing

See CODE_OF_CONDUCT.md.

๐Ÿ™ Credits

Built by Eloquent Works.

๐Ÿ“„ License

Laravel RatingKit is open-source software licensed under the MIT License.


All versions of rating-kit with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/console Version ^12.0 || ^13.0
illuminate/database Version ^12.0 || ^13.0
illuminate/events Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package eloquent-works/rating-kit contains the following files

Loading the files please wait ...