PHPackages                             chessfy/trf - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. chessfy/trf

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

chessfy/trf
===========

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

211PHP

Since Nov 18Pushed 4y ago2 watchersCompare

[ Source](https://github.com/chessfy/trf)[ Packagist](https://packagist.org/packages/chessfy/trf)[ RSS](/packages/chessfy-trf/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

TRF (PHP)
=========

[](#trf-php)

---

##### This repo is a clone of  repository using php.

[](#this-repo-is-a-clone-of-httpsgithubcomsklangentrf-repository-using-php)

---

A parser and dumper for the fide approved tournament report format: trf The trf file format is used by the [Fide](https://en.wikipedia.org/wiki/FIDE) to report tournament results and calculate elo ratings based on them.

- Specification: [https://www.fide.com/FIDE/handbook/C04Annex2\_TRF16.pdf](https://www.fide.com/FIDE/handbook/C04Annex2_TRF16.pdf)
- Example:

Simple usage exmaple
--------------------

[](#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);
```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/93989561?v=4)[chessfy](/maintainers/chessfy)[@chessfy](https://github.com/chessfy)

---

Top Contributors

[![lexisvar](https://avatars.githubusercontent.com/u/1506853?v=4)](https://github.com/lexisvar "lexisvar (7 commits)")

---

Tags

chessmanagerswisstournament

### Embed Badge

![Health badge](/badges/chessfy-trf/health.svg)

```
[![Health](https://phpackages.com/badges/chessfy-trf/health.svg)](https://phpackages.com/packages/chessfy-trf)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M45](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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