Skip to content

3. Usage

Kyle edited this page Feb 3, 2017 · 3 revisions

First you need an API key from Challonge. Store this in a configuration file, environment file or whatever you use, so it doesn't get committed and exposed.

$challonge = new Challonge('apikey');

Instantiation doesn't make any requests, so you don't need to cache this. Now you're ready to use the library.

Clone this wiki locally