PHPackages                             blood72/laravel-riot-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. blood72/laravel-riot-api

AbandonedArchivedLibrary[API Development](/categories/api)

blood72/laravel-riot-api
========================

Riot API wrapper for Laravel

v4.1.0(4y ago)31901[1 issues](https://github.com/blood72/laravel-riot-api/issues)MITPHPPHP &gt;=7.3

Since Jul 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/blood72/laravel-riot-api)[ Packagist](https://packagist.org/packages/blood72/laravel-riot-api)[ RSS](/packages/blood72-laravel-riot-api/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (13)Used By (0)

Laravel Riot API
================

[](#laravel-riot-api)

This is the [parent project](https://github.com/dolejska-daniel/riot-api)'s wrapper for Laravel.

It supports initialize LeagueAPI and DataDragonAPI and adjusted to use Laravel cache driver.

Index
-----

[](#index)

- [Requirement](#requirement)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Reference](#reference)
- [License](#license)

Requirement
-----------

[](#requirement)

- PHP &gt;= 7.3
- Laravel ^7.0 | ^8.0 | ^9.0
- dolejska-daniel/riot-api ^5.0.0

Installation
------------

[](#installation)

Install using the composer.

```
composer require blood72/laravel-riot-api
```

You can publish [config file](./config/riot-api.php).

```
php artisan vendor:publish --provider="Blood72\RiotAPI\RiotAPIServiceProvider"
```

Configuration
-------------

[](#configuration)

It requires `RIOT_API_KEY` and `RIOT_API_REGION`

```
// in riot-api.php
'key' => env('RIOT_API_KEY'),
'region' => env('RIOT_API_REGION', 'na'),
```

You can turn ON/OFF Laravel cache driver (default is `true`)

```
'cache' => env('RIOT_API_CACHE', true),
```

By default, `RIOT_API_LEAGUE_LINKING` option is enabled.
It brings static data together while using LeagueAPI and automatically initializes DataDragonAPI.

If you don't to use these default options, you can overwrite or add them through the settings options.

```
'league' => [
    // ...
    'settings' => [
        //
    ],
],

'ddragon' => [
    // ...
    'settings' => [
        //
    ],
],
```

Usage
-----

[](#usage)

You can use Facade or resolve methods

to use LeagueAPI

```
$summoner = app('league-api')->getSummonerByName('__SOMEONE__');
$matchList = LeagueAPI::getMatchlistByAccount($summoner->accountId);
```

to use DataDragonAPI

```
$icon = resolve('ddragon-api')->getChampionIcon('Diana');
$splash = DataDragonAPI::getChampionSplashUrl('Diana', 11);
```

Other uses can be found on the [wiki](https://github.com/dolejska-daniel/riot-api/wiki) of the [parent project](https://github.com/dolejska-daniel/riot-api).

Reference
---------

[](#reference)

- Daniel Dolejška's [RiotAPI PHP7 wrapper](https://github.com/dolejska-daniel/riot-api)

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~50 days

Recently: every ~71 days

Total

12

Last Release

1580d ago

Major Versions

v1.1.0 → v2.0.02020-10-23

v2.0.2 → v3.0.02020-12-24

v3.2.1 → v4.0.02021-06-22

PHP version history (3 changes)v1.0.0PHP ^7.2.5

v2.0.0PHP ^7.3

v2.0.2PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/4738fa3c44cd4b74c27f3a52906739a1bb8278e49c45ddc24e6ef3f6a2a0b2a3?d=identicon)[b72kor@gmail.com](/maintainers/b72kor@gmail.com)

---

Top Contributors

[![blood72](https://avatars.githubusercontent.com/u/24821306?v=4)](https://github.com/blood72 "blood72 (20 commits)")

---

Tags

laravelRiot API

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/blood72-laravel-riot-api/health.svg)

```
[![Health](https://phpackages.com/badges/blood72-laravel-riot-api/health.svg)](https://phpackages.com/packages/blood72-laravel-riot-api)
```

###  Alternatives

[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[thecodingmachine/graphqlite-laravel

A Laravel service provider package to help you get started with GraphQLite in Laravel.

1852.3k1](/packages/thecodingmachine-graphqlite-laravel)[vahidkaargar/bamboo-card-portal

This is Bamboocardportal.com package

162.0k](/packages/vahidkaargar-bamboo-card-portal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
