LaravelPackages.net
Acme Inc.
Toggle sidebar
chessfy/trf

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

1
2
About chessfy/trf

chessfy/trf is a Laravel package for a parser and dumper for the fide approved tournament report format: trf.. It currently has 2 GitHub stars and 1 downloads on Packagist. Install it with composer require chessfy/trf. Discover more Laravel packages by chessfy or browse all Laravel packages to compare alternatives.

Last updated

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);
Comments