Download the PHP package timmsy/piltover-client without Composer

On this page you can find all versions of the php package timmsy/piltover-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package piltover-client

๐Ÿง  PiltoverClient

A PHP / Laravel-ready API wrapper for the Riot Games Developer API, built by Timmsy.


๐Ÿš€ Overview

PiltoverClient is a lightweight, framework-agnostic API client for the Riot Games Developer API. It integrates seamlessly with Laravel but can also be used in any PHP project.

The client implements the modern Riot API flow:


โš™๏ธ Installation


๐Ÿงฉ Laravel Setup

If you're using Laravel, PiltoverClient auto-discovers its service provider and facade.

Publish Configuration

Add to .env


๐Ÿ’ป Usage Examples

๐Ÿ”ธ Laravel Facade

๐Ÿ”ธ Standalone PHP


๐Ÿงญ Supported Endpoints

Endpoint Scope Method Description
/riot/account/v1/accounts/by-riot-id/{gameName}/{tagLine} Regional accountByRiotId() Get player account and PUUID
/lol/summoner/v4/summoners/by-puuid/{puuid} Platform summonerByPuuid() Get Summoner info
/lol/match/v5/matches/by-puuid/{puuid}/ids Regional matchesByPuuid() Get recent match IDs
/lol/match/v5/matches/{matchId} Regional matchById() Get full match details

๐Ÿงฐ Helpers


๐Ÿงช Testing

Includes PHPUnit + Orchestra Testbench for Laravel context tests.


โš™๏ธ Config File (config/piltover.php)


๐Ÿ“š API Documentation

PiltoverClient includes a built-in OpenAPI 3.1 specification and ReDoc-powered documentation viewer. This allows developers to explore all supported Riot Games API endpoints visually.


๐Ÿ”ง Laravel Integration

Once installed in a Laravel app, the docs are automatically available at:

Configure in config/piltover.php or .env:

Optional authentication:


๐Ÿงฉ Standalone Mode

PiltoverClient also ships with a local static docs server:

Visit: http://127.0.0.1:8765/docs/ This uses the same OpenAPI spec from resources/openapi/.


๐Ÿง  OpenAPI Overview

The included spec documents:

Endpoint Scope Method Description
/riot/account/v1/accounts/by-riot-id/{gameName}/{tagLine} Regional GET Retrieve account + PUUID by Riot ID
/lol/summoner/v4/summoners/by-puuid/{puuid} Platform GET Fetch Summoner profile by PUUID
/lol/match/v5/matches/by-puuid/{puuid}/ids Regional GET List recent matches by PUUID
/lol/match/v5/matches/{matchId} Regional GET Retrieve match details

๐Ÿงพ Notes


๐Ÿ“ฆ Future Roadmap


๐Ÿ“œ License

MIT License ยฉ 2025 James Timms Created and maintained by @Timmsy1998


All versions of piltover-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.8 || ^8.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0
illuminate/config Version ^10.0 || ^11.0 || ^12.0
illuminate/view Version ^10.0 || ^11.0 || ^12.0
illuminate/routing Version ^10.0 || ^11.0 || ^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package timmsy/piltover-client contains the following files

Loading the files please wait ...