Skip to content
This repository was archived by the owner on Jan 6, 2020. It is now read-only.
/ RiotQuest Public archive

[Deprecated] PHP 7.1+ Library for the Riot Games API

License

Notifications You must be signed in to change notification settings

junlarsen/RiotQuest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7dea3f3 · Oct 24, 2019
Apr 4, 2019
Oct 4, 2019
Oct 24, 2019
Oct 24, 2019
Jul 29, 2019
Jun 22, 2019
Apr 4, 2019
Apr 4, 2019
Mar 29, 2019
Jul 22, 2019
Oct 24, 2019
Oct 24, 2019
Jun 22, 2019

Repository files navigation

RiotQuest — API Framework

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

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

Here's a list of some of RiotQuest's features.

  • Automatic Rate Limiting
  • Automatic Caching
  • Laravel Collections over primitive Arrays
  • Environment Variables Support
  • Laravel Integrations
  • DataDragon downloader
  • Automatically updating DataDragon copies
  • Localization available for DataDragon
  • Laravel-like Syntax

The entire project is licensed under the MIT License.

Getting Started

Example

Make a request to Summoner V4 on EUW with Summoner Name "supergrecko"

<?php
use RiotQuest\Client;

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

Documentation

The documentation for RiotQuest can be located at https://riotquest.supergrecko.dev/

There is also a mirror available at https://riotquest.netlify.com/

Prerequisites

The library uses Composer for class autoloading and dependency management. Here is a list of things you'll need to get started with RiotQuest.

  • PHP 7.1+
  • ext-json
  • ext-curl
  • Composer

Installation

To install RiotQuest, simply install it using Composer.

$ composer require supergrecko/riot-quest