PHPackages                             dolejska-daniel/challonge-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dolejska-daniel/challonge-api

ActiveLibrary[API Development](/categories/api)

dolejska-daniel/challonge-api
=============================

ChallongeAPI wrapper for PHP7

v0.3(9y ago)3411GPL-3.0PHPPHP &gt;=7.0.0

Since Jun 29Pushed 8y ago3 watchersCompare

[ Source](https://github.com/dolejska-daniel/challonge-api)[ Packagist](https://packagist.org/packages/dolejska-daniel/challonge-api)[ Docs](https://github.com/dolejska-daniel/challonge-api)[ RSS](/packages/dolejska-daniel-challonge-api/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Challonge API PHP7 wrapper
==========================

[](#challonge-api-php7-wrapper)

> Version pre-v0.4

[![Build Status](https://camo.githubusercontent.com/f321aec4e1624bd469da1fb96143a8774dd9ede3dc4213767c86a1a610bcb909/68747470733a2f2f7472617669732d63692e6f72672f646f6c656a736b612d64616e69656c2f6368616c6c6f6e67652d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dolejska-daniel/challonge-api)[![Test Coverage](https://camo.githubusercontent.com/0c68d83770a07fe22954618cd447e366526c126411fc4fb20753e0b8cc085706/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f646f6c656a736b612d64616e69656c2f6368616c6c6f6e67652d6170692f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/dolejska-daniel/challonge-api/coverage)[![GitHub release](https://camo.githubusercontent.com/50851dea404b57f047e8b3963599ed814e698a849416f9026b1e8b3c93e167f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f646f6c656a736b612d64616e69656c2f6368616c6c6f6e67652d6170692e737667)](https://github.com/dolejska-daniel/challonge-api)[![GitHub pre release](https://camo.githubusercontent.com/00d3b9e94faa1d2087a85149c3035ac7ed359a0175e756f75087d8f96e06f87f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f646f6c656a736b612d64616e69656c2f6368616c6c6f6e67652d6170692f616c6c2e7376673f6c6162656c3d70726525323072656c65617365)](https://github.com/dolejska-daniel/challonge-api)[![Packagist](https://camo.githubusercontent.com/8b2c91733db7c3b28d5f57829f2e8508f440da946153f1eb0433b55f9d974547/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f6c656a736b612d64616e69656c2f6368616c6c6f6e67652d6170692e737667)](https://packagist.org/packages/dolejska-daniel/challonge-api)[![Packagist](https://camo.githubusercontent.com/37a949ee0151bbe27ac0fd651594efbf74cc2c5ab5525fa8165d5de21d56057b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f646f6c656a736b612d64616e69656c2f6368616c6c6f6e67652d6170692e737667)](https://packagist.org/packages/dolejska-daniel/challonge-api)

Table of Contents
=================

[](#table-of-contents)

1. [Introduction](#introduction)
2. [ChallongeAPI](#challongeapi)
    1. [Initializing the library](#initializing-the-library)
    2. [Using the library](#using-the-library)
    3. [Taking advantage of objects](#taking-advantage-of-objects)

Introduction
============

[](#introduction)

This is Challonge API wrapper for PHP7!

With easy usage and clean code.

ChallongeAPI
============

[](#challongeapi)

Initializing the library
------------------------

[](#initializing-the-library)

Initializing the library is easy, it just needs `array` of settings. Mainly, your `SET_API_KEY`. Take a look:

```
use ChallongeAPI\ChallongeAPI;

$api = new ChallongeAPI([
	//  Your Challonge API key, you can get one at https://challonge.com/settings/developer
	ChallongeAPI::SET_API_KEY => 'YOUR_CHALLONGE_API_KEY'
]);
```

**Available library settings**:

NameValueDescription`SET_API_KEY``string`***Required***. Your Challonge API key, you can get one at `SET_VERIFY_SSL``bool`Useful when debuging on localhost, cURL might throw SSL verification errors. *Should not be used in production*.Using the library
-----------------

[](#using-the-library)

Working with Challonge API was never easier!

```
// Fetches all tournaments created on your account
$api->tList();

// Fetches all tournaments created by organization 'csgo' (csgo.challonge.com)
$api->tList('csgo');
```

Taking advantage of objects
---------------------------

[](#taking-advantage-of-objects)

```
// Fetches all tournaments created on your account
$list = $api->tList();

//  Outputs name of all tournaments on your account
foreach ($list->getTournaments() as $tournament)
	echo $tournament->name . "";

//  Finds tournament by it's ID in the list
$tournament = $list->getTournamentById(123456789);
echo $tournament->name . "";

//  Finds tournament by it's URL name in the list
$tournament = $list->getTournamentByUrl('best_tournament');
echo $tournament->name . "";
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3289d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/52563e9a0c93a2fa12cb4fb3d134c71ec2e890a2cc8859f14382768e33bdac9b?d=identicon)[dolejska-daniel](/maintainers/dolejska-daniel)

---

Top Contributors

[![dolejska-daniel](https://avatars.githubusercontent.com/u/10078080?v=4)](https://github.com/dolejska-daniel "dolejska-daniel (15 commits)")

---

Tags

apiwrapperPHP7tournamentschallonge

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dolejska-daniel-challonge-api/health.svg)

```
[![Health](https://phpackages.com/badges/dolejska-daniel-challonge-api/health.svg)](https://phpackages.com/packages/dolejska-daniel-challonge-api)
```

###  Alternatives

[gabrielbull/ups-api

PHP UPS API

4582.4M10](/packages/gabrielbull-ups-api)[php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

16253.3k1](/packages/php-tmdb-laravel)[walle89/swedbank-json

Unofficial API client for the Swedbank's and Sparbanken's mobile apps in Sweden.

782.5k](/packages/walle89-swedbank-json)[jeffreyhyer/bamboohr

PHP SDK for the BambooHR API

1083.8k1](/packages/jeffreyhyer-bamboohr)[lasserafn/laravel-economic

Economic REST wrapper for Laravel

1119.4k](/packages/lasserafn-laravel-economic)[lifeformwp/php-pubg

PUBG API wrapper written in PHP 7.1

112.4k](/packages/lifeformwp-php-pubg)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
