Download the PHP package communitydragon/phizz without Composer

On this page you can find all versions of the php package communitydragon/phizz. 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 phizz

Phizz — Laravel client for the Riot Games API

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A type-safe, auto-generated Laravel client for the Riot Games API. Covers League of Legends, Teamfight Tactics, Legends of Runeterra, Valorant, and Riftbound — generated directly from official OpenAPI schemas with built-in caching, proactive rate limiting, and automatic regional routing.

Requirements

Installation

Publish the config file:

Add your Riot API key to .env:

Usage

Access APIs through the Phizz facade. Each game exposes its own client.

Bypassing the cache

Every API method accepts a force parameter. When true, the request always hits the network and the cache is skipped entirely — nothing is read from it and nothing is written to it.

Caching

Caching is enabled by default and uses your application's default cache store. The TTL applied to each response is resolved in this order:

  1. Per-method override in config/phizz.php under cache.method[]
  2. Global default (cache.default, 60 seconds)

Per-method TTLs are configured using the TTL class, which provides a chained constant syntax:

Sane defaults for all endpoints across every game are shipped in the published config.

Retry strategy

Phizz automatically retries on 429 responses. Two built-in strategies are available:

When a Retry-After header is present in the 429 response, Phizz always respects it over the configured strategy.

Rate limiting

Phizz tracks Riot's X-App-Rate-Limit and X-Method-Rate-Limit response headers and sleeps proactively before sending requests that would otherwise trigger a 429. Rate limit state is stored in the configured cache store and scoped per platform and endpoint.

Platforms & regions

Endpoints that require a regional host (e.g. match history) automatically convert a Platform to the correct Regional value — Platform::EUW becomes Regional::Europe transparently.

Supported APIs

Cross-game (riot)

API Version
Account V1

League of Legends (lol)

API Version
Challenges V1
Champion Mastery V4
Champion V3
Clash V1
League EXP V4
League V4
Match V5
RSO Match V1
Spectator V5
Status V4
Summoner V4
Tournament Stub V5
Tournament V5

Teamfight Tactics (tft)

API Version
League V1
Match V1
Spectator V5
Status V1
Summoner V1

Valorant (val)

API Version
Console Match V1
Console Ranked V1
Content V1
Match V1
Ranked V1
Status V1

Legends of Runeterra (lor)

API Version
Deck V1
Inventory V1
Match V1
Ranked V1
Status V1

Riftbound (riftbound)

API Version
Content V1

Configuration reference

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of phizz with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-intl Version *
guzzlehttp/guzzle Version ^7.0
illuminate/contracts Version ^10.0||^11.0||^12.0
illuminate/support Version ^10.0||^11.0||^12.0
spatie/laravel-package-tools Version ^1.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 communitydragon/phizz contains the following files

Loading the files please wait ...