Unofficial API to interface with the bracket generator Challonge from Laravel.
interludic/challonge-laravel is a Laravel package for unofficial api to interface with the bracket generator challonge from laravel..
It currently has 2 GitHub stars and 48 downloads on Packagist (latest version v1.0.4).
Install it with composer require interludic/challonge-laravel.
Discover more Laravel packages by interludic
or browse all Laravel packages to compare alternatives.
Last updated
Package for interfacing with the [Challonge] API with Laravel 5.x
composer require interludic/challonge-laravel
add CHALLONGE_KEY=<your key> to your .env
update your config\app.php
Providers
Interludic\Challonge\ChallongeServiceProvider::class,
Facade
'Challonge' => 'Interludic\Challonge\Facades\Challonge'
try {
$comp = Challonge::getTournament($challongeId);
if((!empty($comp)) && (($comp->state == "complete") || ($comp->state == "underway") || ($comp->state == "group_stages_underway"))){
$standings = Challonge::getStandings($challongeId);
// $standings['progress'] //Progress of group stage
}
} catch (Exception $e) {
Log::warning('Challonge failed to load standings!', ['challonge'=>$challongeId]);
}

Interludic - interludic.com.au Forked from - team-reflex.com [Challonge]: http://api.challonge.com/v1