Skip to content
/ trf Public

A parser and dumper for the fide approved tournament report format: trf

License

Notifications You must be signed in to change notification settings

chessfy/trf

Repository files navigation

TRF (PHP)


This repo is a clone of https://github.com/sklangen/TRF repository using php.

A parser and dumper for the fide approved tournament report format: trf The trf file format is used by the Fide to report tournament results and calculate elo ratings based on them.

Simple usage exmaple

use Chessfy\Trf\Trf;

$trf = new Trf();
$tour = $trf->load(__DIR__."/data/real.trf");
$players = [];
foreach ($tour->players as $player) {
    $players[] = ($player->name. ' - '. $player->points);
}
echo $tour->name;
dd($players);

About

A parser and dumper for the fide approved tournament report format: trf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages