junlarsen / RiotQuest

[Deprecated] PHP 7.1+ Library for the Riot Games API
MIT License
8 stars 3 forks source link
api-client api-framework league-of-legends php php-7 riot-api riot-api-v4 riot-games-api v4

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.

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.

Installation

To install RiotQuest, simply install it using Composer.

$ composer require supergrecko/riot-quest