{"id":29926516,"url":"https://github.com/imbue/challonge-php","last_synced_at":"2025-10-14T09:37:06.680Z","repository":{"id":56990286,"uuid":"128812906","full_name":"imbue/challonge-php","owner":"imbue","description":"Simple Challonge API wrapper, in PHP. (unofficial)","archived":false,"fork":false,"pushed_at":"2022-02-09T18:43:02.000Z","size":5,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-02T12:57:06.522Z","etag":null,"topics":["api","challonge","php","wrapper"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imbue.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-09T17:58:29.000Z","updated_at":"2025-05-03T11:17:46.000Z","dependencies_parsed_at":"2022-08-21T13:50:22.274Z","dependency_job_id":null,"html_url":"https://github.com/imbue/challonge-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/imbue/challonge-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fchallonge-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fchallonge-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fchallonge-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fchallonge-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imbue","download_url":"https://codeload.github.com/imbue/challonge-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fchallonge-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018620,"owners_count":26086404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","challonge","php","wrapper"],"created_at":"2025-08-02T12:41:36.102Z","updated_at":"2025-10-14T09:37:06.658Z","avatar_url":"https://github.com/imbue.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Challonge PHP wrapper\n\nSimple [Challonge](https://api.challonge.com/v1) API wrapper, in PHP.\n\n## Installation\n\n```bash\ncomposer require imbue/challonge-php\n```\n\n## Usage\n\n```php\n$challonge = new Challonge('api_key');\n```\n\n```php\n// Retrieve a set of tournaments created with your account.\n$tournaments = $challonge-\u003egetTournaments();\n\n// Retrieve a single tournament\n$tournament = $challonge-\u003egetTournament('tournament_id');\n```\n\n```php\n// Create a new tournament\n$tourament = $challonge-\u003ecreateTournament([\n    'tournament' =\u003e [\n        'name' =\u003e 'Tournament name',\n        'url' =\u003e 'imbues_new_tournament',\n        ...\n    ]\n]);\n\n// Update an existing tournament\n$tournament = $challonge-\u003eupdateTournament($tournament, [\n    'tournament' =\u003e [\n        'name' =\u003e 'New tournament name',\n        ...\n    ]\n]);\n\n// for the full list of available parameters visit: https://api.challonge.com/v1/documents/tournaments/create\n```\n\n## List of available methods\n\n### Tournaments\n```php\ngetTournaments();\ngetTournament($tournament);\ncreateTournament($params);\nupdateTournament($tournament, $params);\ndeleteTournament($tournament);\n```\n\n### Participants\n```php\ngetParticipants($tournament);\ngetParticipant($tournament. $participant);\ncreateParticipant($tournament, $params);\nupdateParticipant($tournament, $participant, $params);\nrandomizeParticipants($tournament);\n```\n\n### Matches\n```php\ngetMatches($tournament);\ngetMatch($tournament, $match);\nupdateMatch($tournament, $match, $params);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbue%2Fchallonge-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimbue%2Fchallonge-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbue%2Fchallonge-php/lists"}