1. Go to this page and download the library: Download zelenin/elo library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zelenin / elo example snippets
use Zelenin\Elo\Player;
$player1 = new Player(1200);
$player2 = new Player(800);
use Zelenin\Elo\Match;
$match = new Match($player1, $player2);
$match->setScore(1, 0)
->setK(32)
->count();