{"id":36252145,"url":"https://github.com/simivar/riot-php","last_synced_at":"2026-01-11T07:01:28.263Z","repository":{"id":45052269,"uuid":"306001749","full_name":"simivar/riot-php","owner":"simivar","description":"Dependency-injection based wrapper for Riot Games APIs","archived":false,"fork":false,"pushed_at":"2023-12-15T05:15:49.000Z","size":211,"stargazers_count":10,"open_issues_count":4,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T06:35:09.460Z","etag":null,"topics":["hacktoberfest","league-of-legends","league-of-runterra","leagueoflegends","leagueofrunettera","lol","riot","riot-games","riot-games-api","valorant"],"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/simivar.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":"2020-10-21T11:27:33.000Z","updated_at":"2023-12-04T15:02:51.000Z","dependencies_parsed_at":"2023-02-07T21:02:14.826Z","dependency_job_id":null,"html_url":"https://github.com/simivar/riot-php","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/simivar/riot-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simivar%2Friot-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simivar%2Friot-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simivar%2Friot-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simivar%2Friot-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simivar","download_url":"https://codeload.github.com/simivar/riot-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simivar%2Friot-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28296941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T04:44:51.577Z","status":"ssl_error","status_checked_at":"2026-01-11T04:44:44.232Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["hacktoberfest","league-of-legends","league-of-runterra","leagueoflegends","leagueofrunettera","lol","riot","riot-games","riot-games-api","valorant"],"created_at":"2026-01-11T07:01:08.453Z","updated_at":"2026-01-11T07:01:28.245Z","avatar_url":"https://github.com/simivar.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Riot PHP [![codecov](https://codecov.io/gh/simivar/riot-php/branch/main/graph/badge.svg?token=G6N2HQBIM4)](https://codecov.io/gh/simivar/riot-php)\nPHP wrapper around Riot Games APIs. \n\n### Features\n- 🎉 PSR-18 \u0026 PSR-17 compliant - no more dependency on one specific HTTP Client!\n- 🎉 Dependency-injection first - easy usage with all modern frameworks! \n- 🎉 GitHub Actions for Quality Assurance - it just works!\n- 🎉 Single Responsibility - only API communication inside!\n\n## Getting started\nRiot PHP is available via [Composer](https://getcomposer.org/). It does not implement HTTP Client on its own\nand uses PSR-17 and PSR-18 abstraction so you are free to choose any HTTP Client you want. \n\n```\ncomposer require simivar/riot-php symfony/http-client nyholm/psr7\n```\n\n## APIs Coverage\n\u003e :warning: APIs that have their names ~strikethrough~ are deprecated and will be removed.\n\n| API                  | Docs                                                              | Status | \n| -------------------- | ----------------------------------------------------------------- | ------ |\n| Account v1           | [docs](https://developer.riotgames.com/apis#account-v1)           | 100%   |\n| Champion Mastery v4  | [docs](https://developer.riotgames.com/apis#champion-mastery-v4)  | 100%   |\n| Champion v3          | [docs](https://developer.riotgames.com/apis#champion-v3)          | 100%   |\n| Clash v1             | [docs](https://developer.riotgames.com/apis#clash-v1)             | 100%   |\n| League Exp v4        | [docs](https://developer.riotgames.com/apis#league-exp-v4)        | 100%   |\n| League v4            | [docs](https://developer.riotgames.com/apis#league-v4)            | 100%   |\n| ~Lol Status v3~      | [docs](https://developer.riotgames.com/apis#lol-status-v3)        | 100%   |\n| Lol Status v4        | [docs](https://developer.riotgames.com/apis#lol-status-v4)        | 100%   |\n| Lor Match v1         | [docs](https://developer.riotgames.com/apis#lor-match-v1)         | 100%   |\n| Lor Ranked v1        | [docs](https://developer.riotgames.com/apis#lor-ranked-v1)        | 100%   |\n| Match v4             | [docs](https://developer.riotgames.com/apis#match-v4)             | 100%   |\n| Spectator v4         | [docs](https://developer.riotgames.com/apis#spectator-v4)         | 100%   |\n| Summoner v4          | [docs](https://developer.riotgames.com/apis#summoner-v4)          | 100%   |\n| Tft League v1        | [docs](https://developer.riotgames.com/apis#tft-league-v1)        | 100%   |\n| Tft Match v1         | [docs](https://developer.riotgames.com/apis#tft-match-v1)         | 100%   |\n| Tft Summoner v1      | [docs](https://developer.riotgames.com/apis#tft-summoner-v1)      | 100%   |\n| Third Party Code v4  | [docs](https://developer.riotgames.com/apis#third-party-code-v4)  | 100%   |\n| Tournament Stub v4   | [docs](https://developer.riotgames.com/apis#tournament-stub-v4)   | 100%   |\n| Tournament v4        | [docs](https://developer.riotgames.com/apis#tournament-v4)        | 100%   |\n| Val Content v1       | [docs](https://developer.riotgames.com/apis#val-content-v1)       | 100%   |\n\n# Usage\n```php\n\u003c?php\n\nrequire_once('vendor/autoload.php');\n\n$httpClient = new \\Symfony\\Component\\HttpClient\\Psr18Client();\n$connection = new \\Riot\\Connection(\n    $httpClient,\n    'PASTE-YOUR-API-KEY-HERE',\n    $httpClient,\n    $httpClient\n);\n$riotApi = new \\Riot\\API($connection);\n$lolStatus = $riotApi-\u003egetVersion4()\n    -\u003egetLolStatus()\n    -\u003egetPlatformData(\\Riot\\Enum\\RegionEnum::EUN1())\n    ;\n```\n\n# Legal notice\nRiot PHP isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially \ninvolved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks \nor registered trademarks of Riot Games, Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimivar%2Friot-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimivar%2Friot-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimivar%2Friot-php/lists"}