Updated composer.json in dists

This commit is contained in:
Jeroen De Meerleer 2019-09-28 00:47:39 +02:00
parent 1c23452156
commit 13d0e50e47
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 28CCCB8F62BFADD6
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"require": {
"jeroened/libpairtwo": "^1.1"
"jeroened/libpairtwo": "^1.2"
}
}
}

2
dist/readme.md vendored
View File

@ -4,7 +4,7 @@ This distribution is a good start to use libpairtwo if you don't have knowledge
How to use this distribution?
-----------------------------
The file `boilerplate.php` is the one you'll probably want to work with. You'll want to point your browser to this file. It contains some initializations where the most important one is the variable `$pairingfile`. You'll want to set this to existing pairing file.
The file `template.php` is the one you'll probably want to work with. You'll want to point your browser to this file. It contains some initializations where the most important one is the variable `$pairingfile`. You'll want to set this to existing pairing file.
The other variable (`$pairingfileformat`) is a variable that defines the format of the above pairing file. For now only `Pairtwo-6` and `Pairtwo-5` are available. In the future more formats will become available.
Below the comments you'll find some example code. This code is only a aggregation of several fields that are read out. If you need any modifications like putting the rankings in a table or you want to just write it to a file, go ahead it's all yours.