Kendo- Tournaments is A Laravel 5.4 Package that allows you to generate Tournaments tree, Direct Elimination, Round Robin, or Mixed
First, you'll need to install the package via Composer:
$ composer require "xoco70/kendo-tournaments":^0.11
Then, update config/app.php
by adding an entry for the service provider.
'providers' => [
// ...
Xoco70\KendoTournaments\TournamentsServiceProvider::class,
];
Finally, from the command line again, publish the default configuration file:
php artisan vendor:publish
To run the demo, you need to generate Tournaments, Championships, Users, Competitors and Settings
Run Migrations:
php artisan migrate
Seed dummy data:
php artisan db:seed
You will be able to access the demo at http:https://yourdomain.com/kendo-tournaments
vendor/bin/phpunit tests
This is a work in progress, and tree creation might be very complex, so there is a bunch of things to achieve.
- Generate a modificable ( with Select combos ) result for Preliminary Trees
- Generate Direct Elimination Tree after Preliminary
- Manage Winner and third place fight
- Manage more than 1 fighter out of preliminary round
- Manage n+1 case : When for instance, there is 17 competitors in a direct elimination tree, there will have 15 BYES. We can improve that making the first match with 3 competitors.
- Develop an Hybrid app with Ionic 3 to score live. If no internet, app should sync with Bluetooth :)