2017 © Pedro Peláez
 

library challonge-laravel

Unofficial API to interface with the bracket generator Challonge from Laravel.

image

interludic/challonge-laravel

Unofficial API to interface with the bracket generator Challonge from Laravel.

  • Thursday, October 19, 2017
  • by HarryBosh
  • Repository
  • 0 Watchers
  • 1 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 7 Versions
  • 40 % Grown

The README.md

ChallongeLaravel

Package for interfacing with the Challonge API with Laravel 5.x, (*1)

Installation

composer require interludic/challonge-laravel, (*2)

add CHALLONGE_KEY=<your key> to your .env, (*3)

update your config\app.php, (*4)

Providers Interludic\Challonge\ChallongeServiceProvider::class,, (*5)

Facade 'Challonge' => 'Interludic\Challonge\Facades\Challonge', (*6)

Usage


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]); }

Example leaderboard / standings, (*7)

TODO

  • Config Settings
  • Add support for more than 1 group stage

Interludic - interludic.com.au Forked from - team-reflex.com, (*8)

The Versions

19/10 2017

dev-master

9999999-dev

Unofficial API to interface with the bracket generator Challonge from Laravel.

  Sources   Download

MIT

The Requires

 

by interludic

19/10 2017

dev-dev-master

dev-dev-master

Unofficial API to interface with the bracket generator Challonge from Laravel.

  Sources   Download

MIT

The Requires

 

by interludic

04/07 2017

v1.0.4

1.0.4.0

Unofficial API to interface with the bracket generator Challonge.

  Sources   Download

MIT

The Requires

 

by interludic

10/04 2017

v1.0.3

1.0.3.0

Unofficial API to interface with the bracket generator Challonge.

  Sources   Download

MIT

The Requires

 

17/01 2016

v1.0.2

1.0.2.0

Unofficial API to interface with the bracket generator Challonge.

  Sources   Download

MIT

The Requires

 

23/12 2015

v1.0.1

1.0.1.0

Unofficial API to interface with the bracket generator Challonge.

  Sources   Download

MIT

The Requires

 

16/12 2015

v1.0

1.0.0.0

Unofficial API to interface with the bracket generator Challonge.

  Sources   Download

MIT

The Requires