Getting Started

RiotQuest is a modern PHP 7+ framework for the League of Legends API

The framework aims at giving you a simple and elegant way to interact with the API.

Features

  • Automatic Rate Limiter
  • Automatic Caching
  • Collections instead of arrays
  • Environment variable usage
  • Laravel Service Provider
  • Automatic DDragon cloning
  • Automatically updating game assets
  • Standardized with PSR-1, PSR-2, PSR-4 & PSR-16

Example Usage

The exposed API is very simple for a developer to grasp. This is a sample request to retrieve a summoner's info.

use RiotQuest\Client;

// Only once
Client::boot();

$supergrecko = Client::summoner('euw')->name('supergrecko');

Installation

Installing RiotQuest is very simple. The prerequisites and requirements can be found at the Installation page.

$ composer require supergrecko/riot-quest

Legal

RiotQuest was created under Riot Games' "Legal Jibber Jabber" policy using assets owned by Riot Games. Riot Games does not endorse or sponsor this project.

The entire project is open-sourced and free. Published under the MIT License.